/* ===============================
   ADMIN LOGIN PAGE STYLES - CLEAN MINIMAL DESIGN
   =============================== */

/* CSS Variables - Customer Site Matching Theme */
:root {
    --primary-red: #E53E3E;
    --primary-red-hover: #C53030;
    --primary-red-light: rgba(229, 62, 62, 0.1);
    
    /* Customer Site Colors */
    --bg-cream: #F5F1E8;
    --card-white: #FFFFFF;
    --text-dark: #2D3748;
    --text-medium: #4A5568;
    --text-light: #718096;
    --border-light: #E2E8F0;
    --input-bg: #F7FAFC;
    --shadow-light: rgba(0, 0, 0, 0.1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-cream);
}

/* Landing Container - Clean Background */
.landing-container {
    min-height: 100vh;
    background: var(--bg-cream);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Remove gradient overlay */
.gradient-overlay {
    display: none;
}

/* Content Wrapper - Centered */
.content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Login Card - Clean White Card */
.login-card {
    background: var(--card-white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px var(--shadow-light);
    max-width: 400px;
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.login-subtitle {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.5;
    font-weight: 400;
}

/* Error Messages */
.messages-container {
    margin-bottom: 1.5rem;
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.alert-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Form Styles - Clean Minimal */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.label-icon {
    width: 16px;
    height: 16px;
    color: var(--text-light);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--input-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.form-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.form-input:focus {
    border-color: var(--primary-red);
    background: var(--card-white);
    box-shadow: 0 0 0 3px var(--primary-red-light);
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--text-light);
    transition: color 0.2s ease;
    border-radius: 4px;
}

.toggle-password:hover {
    color: var(--text-dark);
}

.toggle-password.active {
    color: var(--primary-red);
}

.eye-icon {
    width: 18px;
    height: 18px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 400;
}

.checkbox-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-red);
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: var(--primary-red-hover);
    text-decoration: underline;
}

/* Login Button - Red Gradient to Match Customer Site */
.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, #DC2626 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.login-button:hover {
    background: linear-gradient(135deg, var(--primary-red-hover) 0%, #B91C1C 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

.login-button .button-arrow {
    width: 16px;
    height: 16px;
}

/* Login Footer */
.login-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.footer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
    font-weight: 400;
}

.info-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Remove all logo-related styles */
.logo-section-small,
.logo-container-small,
.brand-logo-small,
.brand-name-small {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-container {
        padding: 1.5rem;
    }

    .login-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .login-title {
        font-size: 1.375rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .landing-container {
        padding: 1rem;
    }

    .login-card {
        padding: 1.75rem 1.25rem;
    }

    .login-title {
        font-size: 1.25rem;
    }

    .login-subtitle {
        font-size: 0.8rem;
    }

    .form-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
    }

    .login-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}