/* Auth Layout Styles - Admin Portal */

.auth-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #3d5a80 50%, #4a5d7a 100%);
    padding: 2rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    margin: 2rem auto;
}

.auth-box {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo {
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-block;
}

.auth-header .logo:hover {
    opacity: 0.8;
}

.auth-header .logo img {
    height: 120px;
    width: auto;
}

.auth-header .logo i {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 1rem 0 0 0;
    letter-spacing: -0.02em;
}

.auth-title {
    font-size: 2rem;
    margin: 0 0 1.5rem 0;
    text-align: center;
    color: var(--text-primary);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--danger-color), #c23933);
    color: var(--white);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.938rem;
}

.form-group input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.1);
}

.form-group input.error {
    border-color: var(--danger-color);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-actions {
    margin-top: 0.5rem;
}

.btn-auth {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 90, 128, 0.3);
}

.btn-auth:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 90, 128, 0.4);
}

.btn-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 0.938rem;
    margin: 0;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: var(--primary-dark);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .auth-layout {
        padding: 1rem;
        min-height: 100vh;
        align-items: flex-start;
    }
    
    .auth-container {
        margin: 0 auto 2rem;
    }
    
    .auth-box {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .auth-header {
        margin-bottom: 1.5rem;
    }
    
    .auth-header .logo {
        margin-bottom: 1rem;
    }
    
    .auth-header .logo img {
        height: 90px;
    }
    
    .auth-header .logo i {
        font-size: 3rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .auth-footer {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
}


