/* Responsive Auth Buttons */
.auth-buttons {
    gap: 0.5rem;
}

.auth-buttons .btn {
    min-width: 80px;
    font-size: 0.875rem;
}

/* Mobile Navigation Improvements */
@media (max-width: 991.98px) {
    .header-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
    
    .auth-buttons {
        flex-direction: row;
        justify-content: flex-end;
    }
    
    .header-button {
        order: -1;
    }
    
    .header-button .theme-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .auth-buttons .btn {
        min-width: 60px;
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
    
    .auth-buttons .btn i {
        margin-right: 0.25rem;
    }
}

/* User Dropdown Responsive */
@media (max-width: 768px) {
    .dropdown .btn {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Custom Primary Color Override */
:root {
    --bs-primary: #ED2057;
    --bs-primary-rgb: 237, 32, 87;
    --bs-primary-dark: #C41A47;
    --bs-primary-light: #F24A7A;
}

/* Bootstrap Primary Color Overrides */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #ED2057;
    --bs-btn-border-color: #ED2057;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #C41A47;
    --bs-btn-hover-border-color: #C41A47;
    --bs-btn-focus-shadow-rgb: 237, 32, 87;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #C41A47;
    --bs-btn-active-border-color: #C41A47;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #ED2057;
    --bs-btn-disabled-border-color: #ED2057;
}

.btn-outline-primary {
    --bs-btn-color: #ED2057;
    --bs-btn-border-color: #ED2057;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ED2057;
    --bs-btn-hover-border-color: #ED2057;
    --bs-btn-focus-shadow-rgb: 237, 32, 87;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ED2057;
    --bs-btn-active-border-color: #ED2057;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ED2057;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #ED2057;
}

/* Text Primary Color */
.text-primary {
    --bs-primary-rgb: 237, 32, 87;
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity, 1)) !important;
}

/* Background Primary Color */
.bg-primary {
    --bs-primary-rgb: 237, 32, 87;
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

/* Border Primary Color */
.border-primary {
    --bs-primary-rgb: 237, 32, 87;
    border-color: rgba(var(--bs-primary-rgb), var(--bs-border-opacity, 1)) !important;
}

/* Form Controls */
.form-control:focus {
    border-color: #ED2057;
    box-shadow: 0 0 0 0.25rem rgba(237, 32, 87, 0.25);
}

.form-select:focus {
    border-color: #ED2057;
    box-shadow: 0 0 0 0.25rem rgba(237, 32, 87, 0.25);
}

.form-check-input:checked {
    background-color: #ED2057;
    border-color: #ED2057;
}

.form-check-input:focus {
    border-color: #ED2057;
    box-shadow: 0 0 0 0.25rem rgba(237, 32, 87, 0.25);
}

/* Links */
a {
    color: #ED2057;
}

a:hover {
    color: #C41A47;
}

/* Navigation Links */
.nav-link {
    color: #ED2057;
}

.nav-link:hover {
    color: #C41A47;
}

/* Dropdown Items */
.dropdown-item:hover {
    background-color: rgba(237, 32, 87, 0.1);
    color: #ED2057;
}

/* Pagination */
.page-link {
    color: #ED2057;
    border-color: #ED2057;
}

.page-link:hover {
    color: #C41A47;
    background-color: rgba(237, 32, 87, 0.1);
    border-color: #ED2057;
}

.page-item.active .page-link {
    background-color: #ED2057;
    border-color: #ED2057;
}

/* Progress Bars */
.progress-bar {
    background-color: #ED2057;
}

/* Badges */
.badge.bg-primary {
    background-color: #ED2057 !important;
}

/* Alerts */
.alert-primary {
    --bs-alert-color: #721c24;
    --bs-alert-bg: #f8d7da;
    --bs-alert-border-color: #f5c6cb;
}

/* Cards */
.card-header.bg-primary {
    background-color: #ED2057 !important;
}

/* Custom Theme Button Overrides */
.theme-btn {
    background: linear-gradient(135deg, #ED2057 0%, #C41A47 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    background: linear-gradient(135deg, #C41A47 0%, #8B0520 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(237, 32, 87, 0.3);
}

.theme-btn-2 {
    background: linear-gradient(135deg, #ED2057 0%, #C41A47 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.theme-btn-2:hover {
    background: linear-gradient(135deg, #C41A47 0%, #8B0520 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(237, 32, 87, 0.3);
}

/* Input Group Text */
.input-group-text {
    background-color: rgba(237, 32, 87, 0.1);
    border-color: #ED2057;
    color: #ED2057;
}

/* Custom Hover Effects */
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(237, 32, 87, 0.3);
}

.btn-outline-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(237, 32, 87, 0.3);
}

/* Focus States */
.btn-primary:focus,
.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(237, 32, 87, 0.25);
}

/* Active States */
.btn-primary:active,
.btn-outline-primary:active {
    background-color: #C41A47;
    border-color: #C41A47;
    transform: translateY(0);
}

/* Disabled States */
.btn-primary:disabled,
.btn-outline-primary:disabled {
    background-color: #ED2057;
    border-color: #ED2057;
    opacity: 0.6;
}