/* login.css */
:root {
    --primary: #ea580c;
    --primary-hover: #c2410c;
    --bg-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --text-main: #1e293b;
    --text-muted: #64748b;
}

body,
html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    position: relative;
    background-image: url('../img/bg/loginbg.jpeg');
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.login-wrapper::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.brand-section {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-logo {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
    color: white;
}

.brand-section h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    letter-spacing: -0.5px;
}

.brand-section p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 3rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.input-wrapper:focus-within i {
    opacity: 0;
    transform: translateX(-10px);
}

.input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
    padding-left: 1rem;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.2);
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .login-wrapper {
        padding: 1rem;
        align-items: center;
        /* Ensure vertical centering */
    }

    .login-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        max-width: 100%;
        /* Allow it to take full width on very small screens */
    }

    .brand-section {
        margin-bottom: 1.5rem;
    }

    .brand-section h1 {
        font-size: 1.5rem;
    }

    .brand-section p {
        font-size: 0.85rem;
    }

    .input-wrapper input {
        font-size: 0.95rem;
    }
}

.brand-text {
    color: var(--primary);
}