/* Modest Design Overrides - Remove Gradients and Make Elegant */

/* Remove all gradients and replace with solid colors */
.topbar {
    background: rgba(248, 250, 252, 0.95) !important;
    border-bottom: 1px solid #E5E7EB !important;
}

.dropdown-item:hover {
    background: rgba(126, 44, 138, 0.1) !important;
    color: var(--primary) !important;
    padding-left: 1.25rem !important;
    transform: none !important;
}

.dropdown-item:active {
    background: var(--primary) !important;
    color: white !important;
}

/* Remove gradient navigation items */
.nav-link.active {
    background: rgba(126, 44, 138, 0.1) !important;
    color: var(--primary) !important;
}

.nav-link:hover {
    background: rgba(126, 44, 138, 0.05) !important;
    color: var(--primary) !important;
}

.toggle-btn.active {
    background: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(126, 44, 138, 0.2) !important;
}

.services-section {
    background: #F8F9FC !important;
}

.conditions-section {
    background: #F8F9FC !important;
}

.accreditations-section {
    background: #F8F9FC !important;
}

/* Remove gradient underlines and replace with solid */
.service-card::after,
.condition-card::after {
    background: var(--primary) !important;
}

/* Remove gradient icons */
.service-icon,
.condition-icon {
    background: var(--primary) !important;
}

/* Remove gradient hero overlays */
.hero-overlay {
    background: rgba(0, 0, 0, 0.6) !important;
}

/* Remove gradient footer */
.footer {
    background: var(--primary) !important;
}

.footer::after {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Remove gradient social icons */
.footer-social-link {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.footer-social-link.instagram:hover {
    background: #E4405F !important;
    border-color: #E4405F !important;
}

/* Remove gradient separators */
.footer-separator {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Remove gradient buttons - ALL BUTTON TYPES */
.btn-primary {
    background-color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: white !important;
    transition: all 0.2s ease !important;
}

.btn-primary:hover {
    background-color: #6B2575 !important;
    border-color: #6B2575 !important;
    color: white !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(126, 44, 138, 0.2) !important;
}

/* Remove gradient toggle buttons */
.toggle-btn.active {
    background: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(126, 44, 138, 0.2) !important;
}

.mode-toggle-btn.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

.audience-toggle-nav .nav-toggle-btn.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

/* Remove gradient submit buttons */
.search-btn {
    background: var(--primary) !important;
    border: 1px solid var(--primary) !important;
}

.search-btn:hover {
    background: #6B2575 !important;
    border-color: #6B2575 !important;
}

/* Remove gradient form submit buttons */
button[type="submit"] {
    background-color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
}

button[type="submit"]:hover {
    background-color: #6B2575 !important;
    border-color: #6B2575 !important;
}

/* Remove gradient custom buttons */
.custom-btn {
    background-color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
}

.custom-btn:hover {
    background-color: #6B2575 !important;
    border-color: #6B2575 !important;
}

/* Remove gradient admin panel button */
.admin-panel-btn {
    background: var(--primary) !important;
    border: 1px solid var(--primary) !important;
}

.admin-panel-btn:hover {
    background: #6B2575 !important;
    border-color: #6B2575 !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(126, 44, 138, 0.2) !important;
}

/* Remove gradient toggle switches */
.mode-toggle-btn.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.audience-toggle-nav .nav-toggle-btn.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Remove gradient page headers */
.page-header {
    background: var(--primary) !important;
}

/* Remove gradient search buttons */
.search-btn {
    background: var(--primary) !important;
}

/* Remove gradient form elements */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(126, 44, 138, 0.1) !important;
}

/* Remove gradient navigation items */
.nav-link.active {
    background: rgba(126, 44, 138, 0.1) !important;
    color: var(--primary) !important;
}

/* Remove gradient cards */
.card {
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Remove gradient alerts */
.alert-primary {
    background-color: rgba(126, 44, 138, 0.1) !important;
    border-color: rgba(126, 44, 138, 0.2) !important;
    color: var(--primary) !important;
}

/* Remove gradient badges */
.badge {
    background-color: var(--primary) !important;
}

/* Remove gradient progress bars */
.progress-bar {
    background-color: var(--primary) !important;
}

/* Remove gradient pagination */
.pagination .page-item.active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.pagination .page-link:hover {
    background-color: rgba(126, 44, 138, 0.1) !important;
    border-color: #E5E7EB !important;
    color: var(--primary) !important;
}

/* Remove gradient modals */
.modal-header {
    background: #F8F9FC !important;
    border-bottom: 1px solid #E5E7EB !important;
}

/* Remove gradient table headers */
.table thead th {
    background: #F8F9FC !important;
    border-bottom: 2px solid #E5E7EB !important;
}

/* Remove gradient list items */
.list-group-item:hover {
    background: rgba(126, 44, 138, 0.05) !important;
}

/* Remove gradient breadcrumbs */
.breadcrumb-item.active {
    color: var(--primary) !important;
}

/* Remove gradient tooltips */
.tooltip .tooltip-inner {
    background-color: var(--primary) !important;
}

/* Remove gradient dropdown menus */
.dropdown-menu {
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Remove gradient navigation bars */
.navbar {
    background: white !important;
    border-bottom: 1px solid #E5E7EB !important;
}

/* Remove gradient sections */
.section {
    background: white !important;
}

.section-alt {
    background: #F8F9FC !important;
}

/* Remove gradient buttons in forms */
.btn-secondary {
    background-color: #6B7280 !important;
    border-color: #6B7280 !important;
}

.btn-secondary:hover {
    background-color: #4B5563 !important;
    border-color: #4B5563 !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Remove gradient status badges */
.status-badge.new {
    background: #DBEAFE !important;
    color: #1E40AF !important;
}

.status-badge.reviewed {
    background: #FEF3C7 !important;
    color: #D97706 !important;
}

.status-badge.shortlisted {
    background: #D1FAE5 !important;
    color: #059669 !important;
}

.status-badge.interviewed {
    background: #E0E7FF !important;
    color: #5B21B6 !important;
}

.status-badge.accepted {
    background: #D1FAE5 !important;
    color: #047857 !important;
}

.status-badge.rejected {
    background: #FEE2E2 !important;
    color: #DC2626 !important;
}

/* Remove gradient backgrounds from sections only - do NOT use * selector */
.section, .hero-section, .content-section {
    background-image: none !important;
}

/* Ensure all buttons use solid colors */
.btn, button, input[type="submit"], input[type="button"] {
    background-image: none !important;
}

/* Remove gradient backgrounds from icon wrappers only */
.service-icon, .condition-icon, .staff-icon {
    background-image: none !important;
    background-color: var(--primary) !important;
}

/* Remove gradient page headers */
.page-header {
    background: var(--primary) !important;
    background-image: none !important;
}

/* NOTE: Do NOT use * or ::after/::before with background-image: none - 
   it breaks navbar toggler, hero carousel, and Bootstrap components */

/* Compact Toggle Buttons for Search */
.compact-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.toggle-group {
    display: flex;
    background: #F3F4F6;
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}

.compact-toggle-btn {
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.compact-toggle-btn:hover {
    background: rgba(126, 44, 138, 0.1);
    color: var(--primary);
}

.compact-toggle-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 4px rgba(126, 44, 138, 0.2);
}

.compact-toggle-btn i {
    font-size: 0.85rem;
}

/* Mobile responsive for compact toggles */
@media (max-width: 768px) {
    .toggle-group {
        flex-direction: column;
        width: 100%;
        gap: 2px;
    }
    
    .compact-toggle-btn {
        width: 100%;
        justify-content: center;
    }
}
