/* Auth Premium Styles - Wildomist */
:root {
    --auth-primary: #242F66;
    --auth-secondary: #4b5563;
    --auth-bg: #f8fafc;
    --auth-card-bg: #ffffff;
    --auth-border: #e2e8f0;
    --auth-radius: 16px;
    --auth-input-bg: #f9fafb;
    --auth-accent: #3b82f6;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    background-color: var(--auth-bg);
}

.auth-visual-side {
    flex: 1;
    background: linear-gradient(rgba(36, 47, 102, 0.4), rgba(36, 47, 102, 0.4)), url('/assets/images/login-img-login-page.avif');
    background-size: cover;
    background-position: center;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: white;
    text-align: center;
}

@media (min-width: 992px) {
    .auth-visual-side {
        display: flex;
    }
}

.auth-visual-content {
    max-width: 450px;
}

.auth-visual-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.auth-visual-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

.auth-form-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--auth-card-bg);
    padding: 40px;
    border-radius: var(--auth-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.auth-logo {
    display: block;
    margin-bottom: 40px;
    text-align: center;
}

.auth-logo img {
    height: 45px;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--auth-primary);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--auth-secondary);
    font-size: 0.95rem;
}

.auth-header a {
    color: var(--auth-primary);
    font-weight: 700;
    text-decoration: none;
}

.auth-header a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control-auth {
    width: 100%;
    height: 54px;
    background: var(--auth-input-bg);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 18px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
}

.form-control-auth:focus {
    background: white;
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(36, 47, 102, 0.1);
    outline: none;
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--auth-secondary);
    font-weight: 600;
}

.remember-me input {
    width: 18px;
    height: 18px;
    accent-color: var(--auth-primary);
}

.forgot-link {
    font-size: 0.9rem;
    color: var(--auth-secondary);
    font-weight: 600;
    text-decoration: none;
}

.forgot-link:hover {
    color: var(--auth-primary);
}

.btn-auth {
    width: 100%;
    height: 54px;
    background: var(--auth-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-auth:hover {
    background: #1a224d;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(36, 47, 102, 0.2);
}

.auth-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--auth-border);
    z-index: 1;
}

.auth-divider span {
    position: relative;
    z-index: 2;
    background: var(--auth-card-bg);
    padding: 0 15px;
    color: var(--auth-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.social-auth {
    display: flex;
    gap: 15px;
}

.btn-social {
    flex: 1;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: white;
    border: 2px solid var(--auth-border);
    border-radius: 12px;
    color: var(--auth-secondary);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-social:hover {
    background: var(--auth-bg);
    border-color: #cbd5e1;
}

.btn-social img {
    height: 20px;
}

/* Guest Checkout Styles */
.guest-checkout-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.guest-checkout-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--auth-border);
    z-index: 1;
}

.guest-checkout-divider span {
    position: relative;
    z-index: 2;
    background: var(--auth-card-bg);
    padding: 0 15px;
    color: var(--auth-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-guest-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    background: transparent;
    color: var(--auth-primary);
    border: 2px solid var(--auth-primary);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-guest-auth:hover {
    background: var(--auth-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(36, 47, 102, 0.15);
}

.guest-checkout-action p {
    color: var(--auth-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}
