/* ============================
   CSS RESET & BASE STYLES
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2d8659;
    --primary-green-dark: #246b49;
    --primary-green-light: #4CAF50;
    --primary-blue: #0a7aff;
    --text-primary: #1f1f1f;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-card: #f8f9fa;
    --border-light: #e5e5e5;
    --badge-blue: #e3f2ff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ============================
   LAYOUT
   ============================ */
#app {
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================
   SIDEBAR
   ============================ */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12.5px 16px;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    z-index: 10;
}

.sidebar-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-close-sidebar {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-sidebar:hover {
    background-color: var(--bg-light);
    border-radius: 50%;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 150;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

/* Desktop: Always show sidebar */
@media (min-width: 1024px) {
    .sidebar {
        left: 0;
        box-shadow: none;
        border-right: 1px solid var(--border-light);
    }

    .sidebar-overlay {
        display: none !important;
    }

    .btn-close-sidebar {
        display: none;
    }

    .app-main {
        margin-left: 280px;
    }

    .btn-hamburger {
        display: none !important;
    }

    .bottom-nav {
        display: none !important;
    }
}

.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
}

.btn-hamburger {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.btn-hamburger:hover {
    background-color: var(--bg-light);
    border-radius: 50%;
}

.btn-hamburger.hidden {
    display: none;
}

.btn-home {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-left: auto;
}

.btn-home:hover {
    background-color: var(--bg-light);
    border-radius: 50%;
}

.header-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: center;
    padding: 0 8px;
}

.header.has-back .header-title {
    flex: 1;
    text-align: center;
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background-color 0.2s;
}

.icon-button:hover {
    background-color: var(--bg-light);
    border-radius: 50%;
}

.icon-button i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 80px;
    background-color: var(--bg-white);
}

.content-container {
    padding: 20px 16px;
    max-width: 800px;
    margin: 0 auto;
}

/* Remove padding for map view to prevent scrollbar */
#myteamView .content-container,
#nearbyView .content-container {
    padding: 20px 16px;
}

#myteamView {
    padding: 0;
}

/* ============================
   BOTTOM NAVIGATION
   ============================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 8px;
    z-index: 100;
}

.bottom-nav.hidden {
    display: none;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.nav-item svg {
    stroke: var(--text-secondary);
    transition: stroke 0.2s;
}

.nav-item i {
    font-size: 24px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.nav-item.active {
    color: var(--primary-green);
}

.nav-item.active svg {
    stroke: var(--primary-green);
}

.nav-item.active i {
    color: var(--primary-green);
}

.nav-item:hover {
    color: var(--primary-green);
}

.nav-item:hover svg {
    stroke: var(--primary-green);
}

.nav-item:hover i {
    color: var(--primary-green);
}

/* ============================
   BUTTON COMPONENTS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    background-color: var(--border-light);
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn:disabled:hover {
    background-color: var(--border-light);
    transform: none;
    box-shadow: none;
}

.btn-filter {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    background-color: var(--bg-white);
    color: var(--primary-green);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-filter:hover {
    background-color: var(--primary-green);
    color: var(--bg-white);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--text-secondary);
}

.btn-back {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-back:hover {
    background-color: var(--bg-light);
    border-radius: 50%;
}

/* ============================
   CARD COMPONENTS
   ============================ */
.card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-clickable {
    cursor: pointer;
}

.card-clickable:hover {
    transform: translateY(-2px);
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.service-card:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.specialty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 16px 12px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 140px;
    flex-shrink: 0;
}

.specialty-card .icon-circle {
    width: 60px;
    height: 60px;
    background-color: #d4e8f0;
}

.specialty-card .icon-circle i {
    font-size: 30px !important;
}

.specialty-card div[style*="font-size"] {
    font-size: 16px !important;
    font-weight: 600;
    color: var(--text-primary);
}

.specialty-card:hover {
    border-color: var(--primary-green);
}

.specialty-card.selected {
    border-color: var(--primary-green);
    background-color: #e8f5f0;
    border-width: 2px;
}

.menu-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
}

.menu-card:hover {
    background-color: var(--bg-light);
}

.menu-card.active {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-green);
    padding-left: 12px;
}

.menu-card.active .menu-card-icon,
.menu-card.active .menu-card-text {
    color: var(--primary-green);
}

.menu-card-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-card-icon {
    color: var(--text-secondary);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-card-icon i {
    font-size: 24px !important;
}

.menu-card-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.menu-card-chevron {
    color: var(--text-light);
}

.info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.info-card:hover {
    background-color: #e8e8e8;
}

/* Consultation Cards for Telehealth */
.consultation-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    min-width: 80%;
}

.consultation-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.consultation-card-content {
    padding: 20px;
}

.consultation-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.consultation-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.consultation-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
}

.consultation-card-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ============================
   ICON COMPONENTS
   ============================ */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
}

.icon-circle-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
}

/* ============================
   GRID LAYOUTS
   ============================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.grid-3 {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.grid-3::-webkit-scrollbar {
    display: none;
}

/* ============================
   SECTION COMPONENTS
   ============================ */
.section {
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.badge-24-7 {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--bg-white);
    font-size: 0.625rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 6px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

/* ============================
   FILTER COMPONENTS
   ============================ */
.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background-color: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn i {
    font-size: 1rem;
}

.filter-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.filter-btn.active {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--bg-white);
}

.filter-btn-sm {
    flex: 1;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 10px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn-sm i {
    font-size: 0.875rem;
}

.filter-btn-sm:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.filter-btn-sm.active {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--bg-white);
}

.filter-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.filter-label input[type="checkbox"] {
    order: 1;
}

.filter-label span {
    order: 0;
}

.filter-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-green);
}

.filter-checkbox-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
    font-weight: 500;
}

.filter-checkbox-btn:hover {
    border-color: var(--primary-green);
}

.filter-checkbox-btn input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-green);
}

.filter-checkbox-btn input[type="checkbox"]:checked + span {
    color: var(--primary-green);
    font-weight: 600;
}

.language-selector {
    position: relative;
}

.selected-languages {
    min-height: 44px;
    padding: 10px 12px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    position: relative;
}

.selected-languages::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    pointer-events: none;
    transition: transform 0.2s;
}

.selected-languages.open::after {
    transform: rotate(180deg);
}

.language-placeholder {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.selected-language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.language-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.language-tag-remove {
    background: none;
    border: none;
    padding: 0;
    margin-left: 4px;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: color 0.2s;
}

.language-tag-remove:hover {
    color: var(--text-primary);
}

.language-tag i {
    font-size: 0.75rem;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    max-height: 250px;
    overflow: hidden;
    z-index: 10;
}

.language-options {
    max-height: 250px;
    overflow-y: auto;
    padding: 8px 0;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.language-option:hover {
    background-color: var(--bg-light);
}

.language-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--primary-green);
}

/* ============================
   MODAL
   ============================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background-color: var(--bg-white);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: var(--bg-light);
    color: var(--text-primary);
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid var(--border-light);
}

.modal-footer .btn {
    flex: 1;
}

/* Date Filter Styles */
.date-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-option {
    background-color: white;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-option:hover {
    border-color: var(--accent-color);
    background-color: #f8f8f8;
}

.date-option.active {
    background-color: #e8f5f0;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.date-input {
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 15px;
    width: 100%;
    cursor: pointer;
}

.date-input.hidden {
    display: none;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.2s;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* ============================
   TAB NAVIGATION
   ============================ */
.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 20px;
}

.tab-button {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.tab-button.active {
    color: var(--primary-blue);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-blue);
}

.tab-button:hover {
    color: var(--primary-blue);
}

/* ============================
   SWITCHER COMPONENT
   ============================ */
.header-switcher {
    padding: 12px 20px;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.header-switcher-inline {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 12px;
}

.header-switcher-inline .switcher {
    width: 100%;
    max-width: 500px;
}

.switcher {
    display: flex;
    background-color: var(--bg-light);
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
}

.switcher-btn {
    flex: 1;
    padding: 10px 20px;
    background: none;
    border: none;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.switcher-btn.active {
    background-color: white;
    color: var(--primary-green);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.switcher-btn:hover:not(.active) {
    color: var(--text-primary);
}

/* ============================
   BADGE COMPONENTS
   ============================ */
.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    background-color: var(--primary-blue);
    color: white;
}

.badge-blue {
    background-color: var(--badge-blue);
    color: var(--primary-blue);
}

.badge-green {
    background-color: #e3f2ed;
    color: var(--primary-green);
}

/* ============================
   EMPTY STATE
   ============================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 24px;
}

.empty-state-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* ============================
   SEARCH INPUT
   ============================ */
.search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 16px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background-color: var(--bg-light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 16px center;
    background-size: 20px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: var(--bg-white);
}

/* ============================
   LOGO
   ============================ */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================
   UTILITY CLASSES
   ============================ */
.text-center {
    text-align: center;
}

.text-secondary {
    color: var(--text-secondary);
}

.mt-16 {
    margin-top: 16px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.hidden {
    display: none !important;
}

/* ============================
   IN-PERSON MAP & FILTERS
   ============================ */
/* Map Container - Full Screen */
.practices-list-container {
    position: fixed;
    top: calc(57px + 47px); /* Below header + filter button */
    left: 0;
    right: 0;
    bottom: 64px; /* Above bottom nav */
    background: var(--bg-white);
    overflow-y: auto;
    z-index: 1;
}

.practices-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inperson-view {
    position: relative;
    width: 100%;
}

.map-container {
    background: #f5f5f5;
    border-radius: 12px;
    height: 300px;
    margin-bottom: 20px;
    overflow: hidden;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.map-placeholder p {
    font-size: 16px;
    margin: 0;
}

/* Bottom Sheet */
.filter-toggle-btn.expanded {
    border-radius: 0;
    border-bottom: none;
}

.bottom-sheet {
    position: fixed;
    top: 105px; /* Below header + filter button */
    left: 0;
    right: 0;
    bottom: 86px; /* Above bottom nav with 12px gap */
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.bottom-sheet.expanded {
    max-height: min(50vh, calc(100vh - 105px - 76px)); /* Half screen or available space, whichever is smaller */
}

.filter-toggle-btn {
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    background: white;
    border: none;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    z-index: 100;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s;
    height: 47px;
    box-sizing: border-box;
}

.filter-toggle-btn span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-toggle-btn i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.filter-toggle-btn.expanded i.fa-chevron-down {
    transform: rotate(180deg);
}

.bottom-sheet-handle {
    display: none;
}

.bottom-sheet-handle:active {
    cursor: grabbing;
}

.bottom-sheet-title {
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    padding: 0 20px;
    flex-shrink: 0;
}

.bottom-sheet-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.bottom-sheet-content .section {
    margin-bottom: 20px;
}

.bottom-sheet-content .section:last-child {
    margin-bottom: 0;
}

.bottom-sheet-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-top: 1px solid var(--border-light);
    border-radius: 0 0 24px 24px;
    flex-shrink: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (min-width: 768px) {
    .content-container {
        padding: 32px 24px;
    }

    .grid-3 {
        grid-template-columns: repeat(4, 1fr);
    }

    .header-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================
   TOAST NOTIFICATION
   ============================ */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #333;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================
   TEAM CARDS
   ============================ */
.team-section {
    margin-bottom: 32px;
    background-color: #e8f5f0;
    border-radius: 12px;
    padding: 16px;
}

.specialty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.specialty-header .section-subtitle {
    margin-bottom: 0;
}

.specialty-switcher {
    display: inline-flex;
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 2px;
}

.specialty-switcher-btn {
    padding: 6px 16px;
    border: none;
    background-color: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.specialty-switcher-btn.active {
    background-color: var(--bg-white);
    color: var(--primary-green);
    box-shadow: var(--shadow-sm);
}

.team-cards-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.team-cards-container::-webkit-scrollbar {
    display: none;
}

.team-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
    min-width: 80%;
    min-height: 140px;
    flex-shrink: 0;
}

.team-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
}

.practitioners-list .team-card:hover {
    background-color: #f8fdfb;
    border-color: var(--primary-green);
    box-shadow: 0 2px 8px rgba(45, 134, 89, 0.1);
}

.team-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.practitioners-list .team-card-content {
    gap: 4px;
}

.team-card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.team-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #dcfce7;
    color: #16a34a;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    width: fit-content;
}

.availability-badge i {
    font-size: 12px;
}

.practitioners-list .team-card-title {
    font-size: 15px;
    font-weight: 500;
}

.team-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-card-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.practitioners-list .team-card-row {
    font-size: 13px;
    color: var(--text-light);
}

.practitioners-list .team-card-row i {
    font-size: 12px;
    color: var(--text-light);
}

.team-card-row i {
    width: 16px;
    font-size: 12px;
    color: var(--text-light);
}

.team-card-row.appointment-time {
    font-weight: 500;
    color: var(--primary-green);
}

.team-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.practice-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.telehealth-badge {
    background-color: #fff3e0;
    color: #f57c00;
}

.bulk-billing-badge {
    background-color: #f3e8ff;
    color: #7c3aed;
}

.disabled-badge {
    background-color: #f5f5f5;
    color: #999999;
}

.available-badge {
    background-color: #e8f5f0;
    color: var(--primary-green);
}

.practice-badge i {
    font-size: 11px;
}

.team-card-arrow {
    font-size: 16px;
    color: var(--text-light);
    margin-left: 12px;
}

.practitioners-list .team-card-arrow {
    font-size: 14px;
    color: #d1d5db;
}

.team-view {
    display: block;
}

.team-view.hidden {
    display: none;
}

/* ============================
   PRACTITIONER DETAILS
   ============================ */
.practitioner-details {
    padding: 20px 16px;
    max-width: 800px;
    margin: 0 auto;
}

.practice-details {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.practice-header {
    margin-bottom: 24px;
}

.practice-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.practice-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.practice-icon i {
    font-size: 24px;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.practice-info-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.practice-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.practice-meta .practice-badges {
    display: flex;
    gap: 8px;
    margin-top: 0;
}

.practice-name {
    font-size: 34px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.practice-details-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.address-container {
    background-color: #f5f5f5;
    padding: 20px 16px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.practice-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.practice-detail-item span {
    flex: 1;
}

.directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
    flex: 1;
}

.directions-btn:hover {
    background-color: var(--primary-green-dark);
}

.directions-btn i {
    font-size: 14px;
    color: white !important;
}

.practice-action-buttons {
    display: flex;
    gap: 12px;
}

.book-appointment-container {
    padding: 16px;
}

.book-appointment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.book-appointment-btn:hover {
    background-color: var(--primary-green-dark);
}

.book-appointment-btn i {
    font-size: 18px;
}

.more-info-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    flex: 1;
}

.more-info-btn:hover {
    background-color: var(--primary-green-dark);
}

.more-info-btn i {
    font-size: 16px;
}

.practice-detail-item i {
    color: var(--primary-green);
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    margin-left: 16px;
}

.practice-detail-item.opening-hours-section {
    align-items: flex-start;
}

.practice-detail-item.opening-hours-section i {
    margin-top: 3px;
}

.hours-content {
    flex: 1;
}

.hours-header {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.practice-link {
    color: var(--primary-green);
    text-decoration: none;
}

.practice-link:hover {
    text-decoration: underline;
}

.practice-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.practice-practitioners-section {
    margin-top: 0;
    padding: 0 16px;
}

.practitioners-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.practitioners-list .team-card {
    width: 100%;
    min-width: unset;
    padding: 16px 20px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    min-height: unset;
    max-height: unset;
    box-shadow: none;
}

.practitioner-profile-icon {
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-green);
    flex-shrink: 0;
    margin-right: 16px;
}

.practitioner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: -2px;
}

.gender-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    background-color: var(--bg-light);
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    min-width: 65px;
    flex-shrink: 0;
}

.practitioner-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.meta-separator {
    color: var(--text-light);
}

.practitioner-availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #e8f5f0;
    color: var(--primary-green);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
}

.practitioner-availability i {
    font-size: 12px;
}

.practice-practitioners-section .section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.specialty-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.specialty-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 8px 16px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}

.filter-btn:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-green);
}

.filter-btn.active {
    background-color: #e8f5f0;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.practitioners-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.practitioner-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.profile-icon {
    width: 56px;
    height: 56px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-meta {
    font-size: 14px;
    color: var(--text-secondary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    margin-top: 8px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.view-all-link {
    font-size: 14px;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.view-all-link:hover {
    text-decoration: underline;
}

.view-all-link i {
    font-size: 12px;
}

.practitioner-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-favorite {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-green);
    cursor: pointer;
    padding: 8px;
}

.date-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

.current-date {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.current-date-btn {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.current-date-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.current-date-btn i {
    font-size: 16px;
    color: var(--primary-green);
}

.appointments-container {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.date-nav-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--primary-green);
    cursor: pointer;
    padding: 8px;
}

.time-slots {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.time-slots::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.time-slot {
    padding: 12px 24px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-green);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}

.time-slot:hover {
    background-color: var(--primary-green);
    color: white;
}

.time-slot.selected {
    background-color: var(--primary-green);
    color: white;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.action-buttons .btn-primary {
    background-color: var(--primary-green);
    color: white;
}

.action-buttons .btn-secondary {
    background-color: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.details-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.details-section:last-child {
    border-bottom: none;
}

.details-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.segmented-control {
    display: flex;
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
    gap: 4px;
}

.segment-btn {
    flex: 1;
    padding: 8px 16px;
    background: none;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.segment-btn.active {
    background-color: var(--bg-white);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.appointment-tab-content {
    display: none;
}

.appointment-tab-content:first-of-type {
    display: block;
}

.practitioner-tab-content {
    display: none;
}

.practitioner-tab-content.active {
    display: block;
}

.appointment-tab-content.hidden {
    display: none;
}

.subsection-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.details-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.details-text:last-child {
    margin-bottom: 0;
}

.interests-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.interest-item {
    font-size: 14px;
    color: var(--text-secondary);
}

.qualification-item {
    margin-bottom: 16px;
}

.qualifications-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qualification-badge {
    position: relative;
    padding: 8px 16px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: help;
    transition: all 0.2s;
}

.qualification-badge:hover {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.qualification-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background-color: var(--text-primary);
    color: white;
    font-size: 12px;
    font-weight: 400;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
}

.qualification-badge::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text-primary);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
}

.qualification-badge:hover::after,
.qualification-badge:hover::before {
    opacity: 1;
}

.languages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: disc;
    padding-left: 20px;
}

.language-item {
    font-size: 15px;
    color: var(--text-primary);
    padding-left: 4px;
}

.address-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.address-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.address-action-btn:hover {
    background-color: var(--primary-green-dark);
}

.address-action-btn i {
    font-size: 16px;
}

.practice-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    line-height: 1.5;
}

.hour-day {
    color: var(--text-primary);
    font-weight: 500;
    min-width: 100px;
}

.hour-time {
    color: var(--text-secondary);
    text-align: left;
}

.hour-time.closed {
    color: #dc3545;
}

.view-more-btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px 16px;
    background-color: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.view-more-btn:hover {
    background-color: var(--primary-green-dark);
}

.qualification-item:last-child {
    margin-bottom: 0;
}

.qualification-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.qualification-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.practice-info {
    background-color: var(--bg-light);
    padding: 16px;
    border-radius: 12px;
}

.practice-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.practice-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.practice-detail:last-child {
    margin-bottom: 0;
}

.practice-detail i {
    width: 16px;
    font-size: 12px;
}

