/* Login Page - Consistent with dentcare-service design */

/* Page Heading */
.login-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

/* Login Container - Enhanced Design */
.login-container {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    padding: 32px;
    background-color: #ffffff;
    border-radius: 14px;
    border: 1px solid #e1e4ee;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.3s ease;
}

.login-container:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

/* Login Title */
.login-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #1f2a37;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Form Group */
.login-form-group {
    margin-bottom: 24px;
}

/* Label */
.login-label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: #475467;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Input Group */
.login-input-group {
    display: flex;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.login-input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* Input */
.login-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e1e4ee;
    border-right: none;
    border-radius: 8px 0 0 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: #1d2939;
    background-color: #f8fafc;
}

.login-input:focus {
    outline: none;
    border-color: #667eea;
    background-color: #ffffff;
    box-shadow: none;
}

.login-input::placeholder {
    color: #9ca3af;
}

/* Input Icon */
.login-input-icon {
    background: linear-gradient(135deg, #f1f5f9 0%, #e9ecef 100%);
    border: 1px solid #e1e4ee;
    border-left: none;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #667eea;
    font-weight: 600;
}

.login-input-icon i {
    font-size: 1.1rem;
}

/* Login Button - Enhanced Style */
.login-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.login-btn i {
    font-size: 1.1em;
}

/* reCAPTCHA */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 18px 0;
}

/* Required Field Indicator */
.required-mark {
    color: #dc3545;
    margin-left: 4px;
    font-weight: 700;
}

.required-text {
    font-size: 0.875rem;
    margin-bottom: 20px;
    padding: 10px 14px;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    font-weight: 500;
    text-align: left;
}

/* Forgot Password Link */
.forgot-password {
    display: block;
    text-align: right;
    font-size: 0.875rem;
    color: #667eea;
    text-decoration: none;
    margin-top: 8px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.forgot-password:hover {
    color: #764ba2;
    text-decoration: underline;
}

.forgot-password:focus {
    outline: none;
    text-decoration: underline;
}

/* Register Link */
.register-link {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: #475467;
    text-decoration: none;
    margin-top: 20px;
    padding: 14px;
    border-top: 1px solid #e1e4ee;
    transition: all 0.2s ease;
    font-weight: 500;
}

.register-link:hover {
    color: #667eea;
    background-color: #f8fafc;
    border-radius: 0 0 8px 8px;
}

.register-link:focus {
    outline: none;
}

.register-link i {
    margin-right: 6px;
}

/* Alternate Form (Code Login) */
.login-alternate-form {
    margin-top: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .login-container {
        padding: 24px;
        border-radius: 10px;
    }

    .login-heading {
        font-size: 1.75rem;
    }

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

    .login-label {
        font-size: 0.85rem;
    }

    .login-input {
        padding: 11px 14px;
        font-size: 0.9rem;
    }

    .login-input-icon {
        padding: 11px 14px;
    }

    .login-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .required-text {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .register-link {
        font-size: 0.85rem;
        padding: 12px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .login-container {
        padding: 28px;
    }
}
