/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-coral: #ea1d22;
    --coral-light: #ff6b6b;
    --coral-dark: #d11a1f;
    --coral-bg: rgba(255, 107, 107, 0.1);

    /* Additional Colors */
    --cream: #fdf4e3;
    --yellow: #ffc107;
    --dark-purple: #4a2c5a;
    --light-gray: #f8f9fa;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --shadow: rgba(0, 0, 0, 0.1);
    --success: #00b894;
    --warning-primary: #ffc107;
    --warning-secondary: #fd7e14;

    /* Design System */
    --border-radius: 20px;
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-coral) 0%, var(--coral-dark) 100%);
    --gradient-warning: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
    --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Baloo Da 2", sans-serif;
    font-size: 16px;
    font-weight: 500;
    background-color: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: white;
    box-shadow: 0 2px 10px var(--shadow);
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-logo {
    width: 100%;
    max-width: 300px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-light) !important;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-coral) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-coral) !important;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-coral);
}

.notification-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.notification-btn:hover {
    color: var(--primary-coral);
}

/* ===== LAYOUT ===== */
.dashboard-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.flex-1 {
    flex: 1;
}

/* ===== SHARED CONTAINER STYLES ===== */
.login-container,
.register-container,
.confirm-container,
.reset-container,
.reset-form-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

.login-container::before,
.register-container::before,
.confirm-container::before,
.reset-container::before,
.reset-form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--coral-bg) 0%, transparent 70%);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

/* ===== SHARED CARD STYLES ===== */
.login-card,
.register-card,
.confirm-card,
.reset-card,
.reset-form-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease;
    border-top: 6px solid var(--primary-coral);
}

.login-card {
    max-width: 450px;
}

.register-card,
.reset-form-card {
    max-width: 500px;
}

.confirm-card,
.reset-card {
    max-width: 450px;
}

.login-card::before,
.register-card::before,
.confirm-card::before,
.reset-card::before,
.reset-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--coral-bg) 0%, transparent 70%);
    opacity: 0.4;
    border-radius: 50%;
    transform: translate(30%, -30%);
}

/* ===== SHARED HEADER STYLES ===== */
.login-header,
.register-header,
.confirm-header,
.reset-header,
.reset-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.login-logo,
.register-logo,
.confirm-logo,
.reset-logo,
.reset-form-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    animation: pulse 2s infinite;
    box-shadow: 0 10px 30px rgba(234, 29, 34, 0.3);
}

.login-title,
.register-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confirm-title,
.reset-title,
.reset-form-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle,
.register-subtitle,
.confirm-subtitle,
.reset-subtitle,
.reset-form-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* ===== SHARED FORM STYLES ===== */
.login-form,
.register-form,
.confirm-form,
.reset-form,
.reset-password-form {
    position: relative;
    z-index: 2;
}

/* ===== CLIENT HEADER ===== */
.client-header {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    border-left: 6px solid var(--primary-coral);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
}

.client-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--coral-bg) 0%, transparent 70%);
    opacity: 0.5;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.client-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.client-info {
    position: relative;
    z-index: 2;
}

.client-business-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.client-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.client-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.client-meta span:hover {
    background: var(--coral-bg);
    color: var(--primary-coral);
    transform: translateY(-2px);
}

.client-meta span i {
    color: var(--primary-coral);
    font-size: 0.9rem;
}

.operation-date {
    background: linear-gradient(135deg, var(--coral-bg) 0%, rgba(255, 107, 107, 0.05) 100%) !important;
    color: var(--primary-coral) !important;
    border: 1px solid var(--coral-light);
}

.client-status {
    text-align: right;
    position: relative;
    z-index: 2;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-badge.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.status-badge.active:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.status-badge.active i {
    animation: pulse-dot 2s infinite;
}

.status-badge.inactive {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.status-badge.pending {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.last-updated {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Client Header Variations */
.client-header.premium {
    border-left-color: #ffd700;
    background: linear-gradient(135deg, white 0%, #fffef7 100%);
}

.client-header.premium::before {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.client-header.enterprise {
    border-left-color: var(--dark-purple);
    background: linear-gradient(135deg, white 0%, #faf9fc 100%);
}

.client-header.enterprise::before {
    background: radial-gradient(circle, rgba(74, 44, 90, 0.1) 0%, transparent 70%);
}

/* ===== FORM CARDS ===== */
.form-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-coral), var(--coral-light));
}

.form-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.form-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--coral-bg);
}

.section-title i {
    color: var(--primary-coral);
}

.subsection {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--coral-light);
}

.subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* ===== FORM CONTROLS ===== */
.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.75rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: var(--primary-coral);
    box-shadow: 0 0 0 0.2rem rgba(234, 29, 34, 0.1);
}

.form-control:hover {
    border-color: var(--coral-light);
}

.form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-coral);
    box-shadow: 0 0 0 0.2rem rgba(234, 29, 34, 0.25);
}

.form-select:hover {
    border-color: var(--coral-light);
}

.form-check {
    margin-bottom: 1rem;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-right: 0.5rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--primary-coral);
    border-color: var(--primary-coral);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(234, 29, 34, 0.1);
}

.form-check-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-left: 0.5rem;
}

.input-group-text {
    background: var(--coral-bg);
    border: 2px solid #e9ecef;
    color: var(--primary-coral);
    font-weight: 600;
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.input-group:focus-within .input-group-text {
    border-color: var(--primary-coral);
}

/* ===== FLOATING LABELS ===== */
.form-floating {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-floating .form-control {
    height: 60px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem 1rem 0.5rem 1.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

/* Hide placeholder text completely in floating label setup */
.form-floating .form-control::placeholder {
    color: transparent;
}

.form-floating .form-control:focus {
    border-color: var(--primary-coral);
    box-shadow: 0 0 0 0.2rem rgba(234, 29, 34, 0.1);
    background: white;
    transform: translateY(-2px);
}

.form-floating .form-control:not(:placeholder-shown),
.form-floating .form-control.has-value {
    background: white;
}

/* Readonly field styling */
.form-floating .form-control:read-only {
    background: #e9ecef !important;
    cursor: not-allowed;
    opacity: 0.8;
}

.form-floating label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 1rem;
}

/* Updated label positioning */
.form-floating .form-control:focus~label,
.form-floating .form-control.has-value~label {
    top: -0.75rem;
    font-size: 0.85rem;
    color: var(--primary-coral);
    transform: translateY(0);
}

.form-floating .input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: all 0.3s ease;
    z-index: 3;
}

.form-floating .form-control:focus~.input-icon {
    color: var(--primary-coral);
    transform: translateY(-50%) scale(1.1);
}

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

.password-toggle:hover {
    background: var(--coral-bg);
    color: var(--primary-coral);
}

/* ===== CUSTOM FORM CHECKS ===== */
.form-check-custom {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 0.75rem;
}

.register-form .form-check-custom {
    align-items: flex-start;
}

.form-check-custom .form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    margin: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.register-form .form-check-custom .form-check-input {
    margin-top: 0.2rem;
}

.form-check-custom .form-check-input:checked {
    background-color: var(--primary-coral);
    border-color: var(--primary-coral);
    transform: scale(1.1);
}

.form-check-custom .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(234, 29, 34, 0.1);
}

.form-check-custom .form-check-label {
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

.register-form .form-check-custom .form-check-label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-check-custom .form-check-label a {
    color: var(--primary-coral);
    text-decoration: none;
    font-weight: 600;
}

.form-check-custom .form-check-label a:hover {
    text-decoration: underline;
}

/* ===== INPUT TOGGLE ===== */
.input-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0.25rem;
    margin-bottom: 1rem;
    border: 2px solid #e9ecef;
}

.toggle-option {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.toggle-option.active {
    background: var(--primary-coral);
    color: white;
    box-shadow: 0 3px 10px rgba(234, 29, 34, 0.3);
}

.toggle-option:hover:not(.active) {
    background: var(--coral-bg);
    color: var(--primary-coral);
}

/* ===== RADIO GROUPS ===== */
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
    min-width: 120px;
    gap: 0.75rem;
}

.radio-item:hover {
    border-color: var(--coral-light);
    box-shadow: 0 5px 15px var(--shadow);
    background: rgba(234, 29, 34, 0.05);
}

.radio-item.selected {
    border-color: var(--primary-coral);
    background: var(--coral-bg);
}

.radio-item input {
    cursor: pointer;
    margin: 0;
    accent-color: var(--primary-coral);
}

.radio-item label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: #495057;
}

.radio-item:hover .form-check-label {
    color: var(--primary-coral);
}

/* ===== BUTTONS ===== */
.submit-btn {
    background: linear-gradient(135deg, var(--primary-coral) 0%, var(--coral-dark) 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(234, 29, 34, 0.3);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(234, 29, 34, 0.4);
}

.btn-step {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-prev {
    background: #6c757d;
    color: white;
}

.btn-prev:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.btn-next {
    background: var(--gradient-primary);
    color: white;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 29, 34, 0.3);
}

.btn-submit {
    background: linear-gradient(135deg, var(--success) 0%, #218838 100%);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
}

.btn-warning-primary,
.btn-warning-secondary {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-warning-primary {
    background: var(--gradient-primary);
    color: #fff;
}

.btn-warning-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 29, 34, 0.3);
}

.btn-warning-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-warning-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

/* ===== SHARED AUTH BUTTONS ===== */
.login-btn,
.register-btn,
.confirm-btn,
.reset-btn,
.reset-password-btn {
    width: 100%;
    height: 55px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(234, 29, 34, 0.3);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.login-btn::before,
.register-btn::before,
.confirm-btn::before,
.reset-btn::before,
.reset-password-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover,
.register-btn:hover,
.confirm-btn:hover,
.reset-btn:hover,
.reset-password-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(234, 29, 34, 0.4);
}

.login-btn:hover::before,
.register-btn:hover::before,
.confirm-btn:hover::before,
.reset-btn:hover::before,
.reset-password-btn:hover::before {
    left: 100%;
}

.login-btn:active,
.register-btn:active,
.confirm-btn:active,
.reset-btn:active,
.reset-password-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.login-btn.loading,
.register-btn.loading,
.confirm-btn.loading,
.reset-btn.loading,
.reset-password-btn.loading {
    pointer-events: none;
    color: transparent;
}

.login-btn.loading::after,
.register-btn.loading::after,
.confirm-btn.loading::after,
.reset-btn.loading::after,
.reset-password-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Button States */
.btn-step:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-step.loading {
    position: relative;
    color: transparent;
}

.btn-step.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}

/* ===== SHARED LINK STYLES ===== */
.forgot-password-link,
.back-to-login {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password-link a,
.back-to-login a {
    color: var(--primary-coral);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.forgot-password-link a::after,
.back-to-login a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-coral);
    transition: width 0.3s ease;
}

.forgot-password-link a:hover,
.back-to-login a:hover {
    color: var(--coral-dark);
    transform: translateY(-1px);
}

.forgot-password-link a:hover::after,
.back-to-login a:hover::after {
    width: 100%;
}

/* ===== SHARED FOOTER STYLES ===== */
.login-footer,
.register-footer,
.confirm-footer,
.reset-footer,
.reset-form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    color: var(--text-light);
    font-size: 0.9rem;
}

.signup-link,
.login-link {
    margin-top: 1rem;
}

.signup-link a,
.login-link a {
    color: var(--primary-coral);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-link a:hover,
.login-link a:hover {
    color: var(--coral-dark);
    text-decoration: underline;
}

/* ===== FORM NAVIGATION ===== */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* ===== PROGRESS BARS ===== */
.progress-container {
    margin-bottom: 3rem;
}

.progress-bar-container {
    position: relative;
    margin-bottom: 2rem;
}

.progress-bar-bg {
    height: 6px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: -15px;
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition);
    z-index: 2;
    position: relative;
}

.progress-step.active {
    background: var(--primary-coral);
    color: white;
    transform: scale(1.1);
}

.progress-step.completed {
    background: var(--success);
    color: white;
}

.progress-step.completed i {
    font-size: 0.8rem;
}

.step-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    position: relative;
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    width: 30px;
    flex: none;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
    transform: translateX(-50%);
}

.step-label:first-child {
    transform: translateX(0);
}

.step-label:last-child {
    transform: translateX(-100%);
}

.step-label.active {
    color: var(--primary-coral);
    font-weight: 600;
}

.profit-display {
    background: var(--coral-bg);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-coral);
    text-align: center;
}

/* ===== DASHBOARD CARDS ===== */
.stats-card {
    background: linear-gradient(135deg, var(--coral-light) 0%, var(--primary-coral) 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(234, 29, 34, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(234, 29, 34, 0.4);
}

.stats-card:hover::before {
    left: 100%;
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stats-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

.metric-card {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.metric-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--coral-bg) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.metric-card:hover {
    transform: translateY(-6px) rotate(1deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.metric-card:hover::after {
    opacity: 1;
}

.metric-card:hover .metric-icon {
    transform: scale(1.1) rotate(-1deg);
}

.metric-card:hover .metric-number {
    color: var(--primary-coral);
}

.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--coral-bg);
    color: var(--primary-coral);
}

.metric-icon.dollar {
    background: #e8f5e8;
    color: var(--success);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.metric-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}


.ads-budget-need .metric-number {
    color: var(--success);
    font-size: 3rem;
    font-weight: 900;
}

.progress-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px var(--shadow);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--coral-bg) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.progress-card:hover::before {
    opacity: 1;
}

.progress-card:hover .custom-progress-bar {
    background: linear-gradient(90deg, var(--primary-coral) 0%, var(--coral-dark) 100%);
    box-shadow: 0 0 20px rgba(234, 29, 34, 0.4);
}

.progress-card:hover .spend-line {
    animation: pulse 2s infinite;
}

.progress-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.progress-data {
    font-size: 18px;
}

.progress-data span {
    font-weight: 600;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.2);
}

.progress-data span.primary {
    color: var(--primary-coral);
}

.progress-data span.yellow {
    color: var(--yellow);
}

.progress-data span.dark-purple {
    color: var(--dark-purple);
}

/* ===== WARNING CARDS ===== */
.limit-warning-card {
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    animation: slideInUp 0.8s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.warning-header {
    background: var(--gradient-warning);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.warning-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.warning-icon-container {
    position: relative;
    z-index: 2;
}

.warning-icon-bg {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.warning-icon-bg:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.warning-icon {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.warning-content {
    padding: 3rem 2rem;
    text-align: center;
}

.warning-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.warning-message {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.warning-info-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.info-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-coral);
    box-shadow: 0 10px 30px rgba(234, 29, 34, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.info-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.warning-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.warning-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-text {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.alert-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px var(--shadow);
    border-left: 4px solid #139f0a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.alert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(19, 159, 10, 0.1), transparent);
    transition: left 0.6s ease;
}

.alert-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(19, 159, 10, 0.1);
    border-left-width: 6px;
}

.alert-card:hover::before {
    left: 100%;
}

.alert-card:hover .alert-icon {
    transform: scale(1.1) rotate(5deg);
    animation: bounce 0.6s ease;
}

.alert-content {
    display: flex;
    align-items: center;
}

.alert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2ae023 0%, #139f0a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.alert-description {
    font-size: 18px;
    color: var(--text-light);
}

.alert-description li {
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

/* ===== CHART CARDS ===== */
.chart-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px var(--shadow);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.chart-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, var(--coral-bg) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.chart-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.chart-card:hover::after {
    opacity: 1;
}

.chart-card:hover .budget-split-bar {
    transform: scale(1.05);
}

.chart-card:hover .legend-item {
    transform: translateX(5px);
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.budget-legend {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color.prospecting {
    background: var(--primary-coral);
}

.legend-color.content {
    background: var(--yellow);
}

.legend-color.retargeting {
    background: var(--dark-purple);
}

.budget-split-bar {
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.budget-split-segment {
    height: 100%;
    transition: all 0.3s ease;
}

.budget-split-segment.prospecting {
    background: var(--primary-coral);
    width: 40%;
}

.budget-split-segment.content {
    background: var(--yellow);
    width: 35%;
}

.budget-split-segment.retargeting {
    background: var(--dark-purple);
    width: 25%;
}

/* ===== FORM STEPS ===== */
.form-step {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.form-step.active {
    display: block;
}

.step-content {
    position: relative;
    min-height: 400px;
}

/* ===== STATUS ALERTS & INFO BOXES ===== */
.status-alert {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    color: #155724;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInUp 0.5s ease;
}

.status-alert .alert-icon {
    font-size: 1.25rem;
    color: #28a745;
}

.info-box {
    border-radius: 15px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-box.warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    color: #856404;
}

.info-box.info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196f3;
    color: #0d47a1;
}

.info-box .info-icon {
    font-size: 1.25rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.info-box.warning .info-icon {
    color: #ffc107;
}

.info-box.info .info-icon {
    color: #2196f3;
}

/* ===== PASSWORD MATCH INDICATOR ===== */
.password-match {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.password-match.match {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: flex;
}

.password-match.no-match {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: flex;
}

/* ===== FULLSCREEN LOADER ===== */
.fullscreen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    color: white;
}

.fullscreen-loader.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.loader-content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
}

.loader-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top: 4px solid var(--primary-coral);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: var(--coral-light);
    animation-delay: -0.5s;
    animation-duration: 1.5s;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: #fff;
    animation-delay: -1s;
    animation-duration: 1s;
}

.loader-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.loader-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.loader-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-coral), var(--coral-light));
    border-radius: 2px;
    width: 0%;
    animation: progressAnimation 3s ease-in-out infinite;
}

/* ===== VALIDATION STYLES ===== */
.shake {
    animation: shake 0.6s ease-in-out;
}

.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.radio-group.is-invalid .radio-item {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
    animation: shake 0.6s ease-in-out;
}

.form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    animation: shake 0.6s ease-in-out;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

@keyframes pulse-dot {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: scale(1.1) translateY(0);
    }

    40% {
        transform: scale(1.1) translateY(-10px);
    }

    60% {
        transform: scale(1.1) translateY(-5px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(1deg);
    }

    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

/* ===== ENHANCED ANIMATIONS ===== */
.warning-info-box .info-item:nth-child(1) {
    animation-delay: 0.2s;
}

.warning-info-box .info-item:nth-child(2) {
    animation-delay: 0.4s;
}

.warning-actions .btn-warning-primary {
    animation-delay: 0.6s;
}

.warning-actions .btn-warning-secondary {
    animation-delay: 0.8s;
}

.warning-info-box .info-item,
.warning-actions button {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }

    .form-card {
        padding: 2rem;
    }

    .form-title {
        font-size: 2rem;
    }

    .client-header {
        padding: 1.5rem;
        text-align: center;
    }

    .client-business-name {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .client-meta {
        justify-content: center;
        gap: 0.75rem;
    }

    .client-meta span {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .client-status {
        text-align: center;
        margin-top: 1rem;
    }

    .status-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-item {
        min-width: auto;
    }

    .stats-number {
        font-size: 2rem;
    }

    .metric-number {
        font-size: 2rem;
    }

    .budget-legend {
        flex-direction: column;
        gap: 0.5rem;
    }

    .limit-warning-card {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .warning-header {
        padding: 1.5rem;
    }

    .warning-icon-bg {
        width: 80px;
        height: 80px;
    }

    .warning-icon {
        font-size: 2.5rem;
    }

    .warning-title {
        font-size: 1.8rem;
    }

    .warning-message {
        font-size: 1rem;
    }

    .warning-info-box {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-item {
        padding: 1.5rem 1rem;
    }

    .warning-actions {
        flex-direction: column;
    }

    .btn-warning-primary,
    .btn-warning-secondary {
        width: 100%;
        justify-content: center;
    }

    .form-subtitle {
        font-size: 1rem;
    }

    .progress-step {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-step {
        width: 100%;
        justify-content: center;
    }

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

    .loader-content {
        padding: 1rem;
    }

    .loader-spinner {
        width: 80px;
        height: 80px;
    }

    .loader-title {
        font-size: 1.2rem;
    }

    .loader-subtitle {
        font-size: 0.9rem;
    }

    /* Auth Pages Mobile */
    .login-container,
    .register-container,
    .confirm-container,
    .reset-container,
    .reset-form-container {
        padding: 1rem;
    }

    .login-card,
    .register-card,
    .confirm-card,
    .reset-card,
    .reset-form-card {
        padding: 2rem;
        border-radius: 20px;
    }

    .login-title,
    .register-title {
        font-size: 1.8rem;
    }

    .confirm-title,
    .reset-title,
    .reset-form-title {
        font-size: 1.8rem;
    }

    .login-logo,
    .register-logo,
    .confirm-logo,
    .reset-logo,
    .reset-form-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .form-floating .form-control {
        height: 55px;
    }

    .login-btn,
    .register-btn,
    .confirm-btn,
    .reset-btn,
    .reset-password-btn {
        height: 50px;
        font-size: 1rem;
    }

    .toggle-option {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .client-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .client-meta span {
        width: 100%;
        justify-content: center;
    }

    .stats-card {
        text-align: center;
    }

    .alert-content {
        flex-direction: column;
        align-items: center;
    }

    .warning-content {
        padding: 2rem 1rem;
    }

    .warning-title {
        font-size: 1.5rem;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon i {
        font-size: 1.25rem;
    }

    .btn-warning-primary,
    .btn-warning-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    .login-card,
    .register-card,
    .confirm-card,
    .reset-card,
    .reset-form-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .login-title,
    .register-title,
    .confirm-title,
    .reset-title,
    .reset-form-title {
        font-size: 1.6rem;
    }

    .form-floating .form-control {
        height: 50px;
        font-size: 0.9rem;
    }

    .navbar>.container {
        justify-content: center;
    }
}