/* Login Page Custom Styles */
.section-title .bbbs {
    display: flex;
    gap: 3px;
}

.section-title .bbb {
    display: inline-block;
    border: 2px solid var(--text-4);
    border-radius: 100px;
    margin-right: 3px;
}

.section-title .bbb-long {
    width: 40px;
}

.section-title .bbb-short {
    width: 12px;
}

.section-title .bbb:last-child {
    margin-right: 0;
}

/* Login Form Enhancements */
.tf-login-wrap {
    margin-top: 2rem;
}

.tf-login-form {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
}

/* Alert Styles */
.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #721c24;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
}

.alert-success {
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0a3622;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
}

/* Form field improvements */
.tf-field.style-1 {
    position: relative;
    margin-bottom: 1rem;
}

.tf-field-input {
    transition: border-color 0.3s ease;
}

.tf-field-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.25);
}

/* Button improvements */
.tf-btn.animate-hover-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Loading state */
.tf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* SMS Code Input Styles */
.sms-code-container {
    text-align: center;
}

.sms-input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.reset-sms-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.reset-sms-input:focus {
    border-color: #007bff;
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.reset-sms-input.filled {
    border-color: #28a745;
    background: #fff;
}

.reset-sms-input.error {
    border-color: #dc3545;
    background: #fff;
}

/* Reset SMS Timer */
#reset-resend-timer {
    color: #6c757d;
    font-weight: 500;
}

#reset-resend-sms.disabled {
    pointer-events: none;
    opacity: 0.6;
}

#reset-resend-sms {
    color: #007bff;
    text-decoration: none;
}

#reset-resend-sms:hover {
    text-decoration: underline;
}

/* Utility classes */
.gap-15 {
    gap: 15px;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.me-2 {
    margin-right: 0.5rem;
}

/* Field improvements */
.tf-field {
    position: relative;
}

/* Password toggle */
.password-toggle-icon {
    transition: color 0.3s ease;
}

.password-toggle-icon:hover {
    color: #007bff;
}

/* Captcha */
.h-captcha {
    position: relative;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .tf-login-form {
        padding: 1.5rem;
    }

    .tf-grid-layout {
        grid-template-columns: 1fr;
    }

    .sms-input-group {
        gap: 8px;
    }

    .reset-sms-input {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}