/*
 * features.css - Page & Feature-Specific Styles
 *
 * This file contains styles specific to page features and components:
 * - Two-column page layout (.two-column-container, .left-column, .right-column)
 * - Station grids and carousels (.stations-grid, .station-box, .station-wrapper)
 * - Show grids and carousels (.shows-grid, .show-box, .show-wrapper)
 * - Filter controls (genre, show type, station type, sort, search)
 * - Favorites section
 * - Modal implementations (.modal, .modal-dialog, .modal-content)
 * - Share popovers and tag modals
 * - Station details panels
 * - Messages section
 * - Virtual station styling
 * - Source type borders (liked, tagged, virtual, alphabetical)
 * - Welcome message for unauthenticated users
 *
 * For global styles (buttons, forms, typography), see app.css
 * For shared modal components, see SharedModal.css
 */

/* Two Column Layout */
.two-column-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.left-column {
    flex: 2 1 0%;
    min-width: 300px;
    background-color: #000000;
    border-radius: 12px;
}

.right-column {
    flex: 1 1 0%;
    min-width: 250px;
    background-color: #000000;
    border-radius: 12px;
}

/* On smaller screens, stack columns vertically */
@media (max-width: 992px) {
    .two-column-container {
        flex-direction: column;
    }

    .left-column,
    .right-column {
        flex: 1;
        min-width: 0;
        max-width: 100%;
    }
}

/* Suggested Stations Section */
.suggested-stations-section {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
}

.stations-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.suggested-stations-title {
    color: #1b6ec2;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Show Toggles Background - matching Home page */
.show-toggles-background {
    background-color: transparent;
    padding: 8px 0px;
    border-radius: 0px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    margin: 5px 0 10px 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Genre Filter Styles - matching Home page */
.genre-filter-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 0px;
    margin-top: 0px;
    border-top: none;
}

.genre-filter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.genre-dropdown-wrapper {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}

.genre-dropdown-wrapper::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #000;
    pointer-events: none;
}

.genre-dropdown {
    padding: 10px 32px 10px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    background: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(27, 110, 194, 0.3);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: auto;
    min-width: 150px;
}

.genre-dropdown::-ms-expand {
    display: none;
}

.genre-dropdown:hover {
    border-color: #4a90e2;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.genre-dropdown:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(27, 110, 194, 0.2);
}

/* Show Type Filter Styles - matching genre filter pattern */
.show-type-filter-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.show-type-filter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.show-type-dropdown-wrapper {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}

.show-type-dropdown-wrapper::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #000;
    pointer-events: none;
}

.show-type-dropdown {
    padding: 10px 32px 10px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(27, 110, 194, 0.3);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: auto;
    min-width: 150px;
}

.show-type-dropdown::-ms-expand {
    display: none;
}

.show-type-dropdown:hover {
    border-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.show-type-dropdown:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(27, 110, 194, 0.2);
}

/* Station Type Filter Styles */
.station-type-filter-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 0px;
    margin-top: 0px;
    border-top: none;
}

.station-type-filter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.station-type-dropdown-wrapper {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}

.station-type-dropdown-wrapper::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #000;
    pointer-events: none;
}

.station-type-dropdown {
    padding: 10px 32px 10px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    background: #ffffff;
    border: 2px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(27, 110, 194, 0.3);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: auto;
    min-width: 150px;
}

.station-type-dropdown::-ms-expand {
    display: none;
}

.station-type-dropdown:hover {
    border-color: #fff  ;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.station-type-dropdown:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(27, 110, 194, 0.2);
}

/* Sort Filter Styles */
.sort-filter-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 0px;
    margin-top: 0px;
    border-top: none;
}

.sort-filter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.sort-dropdown-wrapper {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}

.sort-dropdown-wrapper::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #000;
    pointer-events: none;
}

.sort-dropdown {
    padding: 10px 32px 10px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    background: #ffffff;
    border: 2px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(27, 110, 194, 0.3);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: auto;
    min-width: 150px;
}

.sort-dropdown::-ms-expand {
    display: none;
}

.sort-dropdown:hover {
    border-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.sort-dropdown:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(27, 110, 194, 0.2);
}

/* Search Filter Styles */
.search-filter-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-filter-container .input-group {
    width: 172px; /* Set the width for the entire input group */
}

.search-input {
    /* Remove width as it's now handled by .input-group */
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    background: #ffffff;
    border: 2px solid #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(27, 110, 194, 0.3);
    /* width: 120px; */ /* Removed */
    text-transform: uppercase;
}

.search-input::placeholder {
    color: #999;
    text-transform: none;
}

.search-input:hover {
    border-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.search-input:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(27, 110, 194, 0.2);
}

/* ── Shared filter dropdown classes (Beta.razor) ─────────────────────────── */
.filter-dropdown-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-dropdown-wrapper {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}

.filter-dropdown-wrapper::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #000;
    pointer-events: none;
}

.filter-dropdown {
    padding: 10px 32px 10px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(27, 110, 194, 0.3);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: auto;
    min-width: 150px;
}

.filter-dropdown::-ms-expand {
    display: none;
}

.filter-dropdown:hover {
    border-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(27, 110, 194, 0.2);
}
/* ─────────────────────────────────────────────────────────────────────────── */

.input-group-text {
    background-color: #737244;
    color: #fff;
    border: 2px solid #fff;
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding: 10px 12px;
}

.input-group-text .bi-search {
    font-size: 0.9rem;
}

.stations-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, max-content));
    gap: 15px;
    padding: 10px 5px;
    justify-content: start;
    align-content: start;
}

.no-stations-message {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.station-box {
    min-width: 120px;
    height: 120px;
    background-color: #1565c0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.station-box.has-logo {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
    background-origin: content-box;
    padding: 4px;
}

.station-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    flex-shrink: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.station-wrapper.hidden {
    display: none;
}

.station-wrapper.visible {
    display: flex;
    animation: fadeInSlide 0.5s ease forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.station-call-letters {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    width: 80%;
    line-height: 1.1;
    z-index: 2;
    position: relative;
}

.station-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.station-box.selected {
    background-color: #0d47a1;
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 12px 3px rgba(255, 200, 0, 0.75);
}


.station-box.selected:hover {
    background-color: #0a3d7a;
    box-shadow: 0 0 16px 4px rgba(255, 200, 0, 0.85);
}

.station-box.has-logo:hover {
    background-color: #fff;
}

.station-box.has-logo.selected {
    background-color: #fff;
    border: 2px solid #ffc800;
    box-shadow: 0 0 12px 3px rgba(255, 200, 0, 0.75);
}

.station-box.has-logo.selected:hover {
    background-color: #f0f0f0;
    box-shadow: 0 0 16px 4px rgba(255, 200, 0, 0.85);
}

.station-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 6px;
    width: 120px;
}

/* Shows Section */
.shows-section {
    margin-top: -12px;
    margin-bottom: 20px;
    padding:0;
}

@media (max-width: 480px) {
    .shows-section {
    margin-top: 0px;
    margin-bottom: 10px;
    padding:0;
    }
}

.panel-container {
    background-color: #000000;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.shows-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.shows-title {
    color: #1b6ec2;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.no-shows-message {
    padding: 20px;
    text-align: left;
    color: #6c757d;
    font-style: italic;
    white-space: pre-line;
}

/* Favorites Section */
.favorites-section {
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 0;
}

.favorites-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.favorites-title {
    color: #1b6ec2;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.no-favorites-message {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, max-content));
    gap: 15px;
    padding: 10px 5px;
    justify-content: start;
    align-content: start;
}

.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 140px));
    gap: 10px;
    padding: 10px 5px;
    justify-content: start;
    align-content: start;
}

.show-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    flex-shrink: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.show-wrapper.hidden {
    display: none;
}

.show-wrapper.visible {
    display: flex;
    animation: fadeInSlide 0.5s ease forwards;
}

.show-box {
    min-width: 100px;
    height: 100px;
    background-color: #1565c0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.show-box.has-logo {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
    background-origin: content-box;
    padding: 4px;
}

.show-name-large {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    width: 80%;
    line-height: 1.1;
    z-index: 2;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.show-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.show-box.selected {
    background-color: #0d47a1;
    border-color: #42a5f5;
    box-shadow: 0 0 15px 5px rgba(33, 150, 243, 0.6), 0 0 30px 10px rgba(33, 150, 243, 0.3);
}


.show-box.selected:hover {
    background-color: #1565c0;
    box-shadow: 0 0 20px 8px rgba(33, 150, 243, 0.7), 0 0 40px 15px rgba(33, 150, 243, 0.4);
}

.show-box.has-logo:hover {
    background-color: #fff;
}

.show-box.has-logo.selected {
    background-color: #fff;
    border: 3px solid #1565c0;
    box-shadow: 0 0 15px 5px rgba(33, 150, 243, 0.6), 0 0 30px 10px rgba(33, 150, 243, 0.3);
}

.show-box.has-logo.selected:hover {
    background-color: #f0f0f0;
    box-shadow: 0 0 20px 8px rgba(33, 150, 243, 0.7), 0 0 40px 15px rgba(33, 150, 243, 0.4);
}

.show-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 6px;
    width: 120px;
    font-size:.8rem;
    color:gray;
}

.show-station {
    font-size: 0.8rem;
    font-weight: 600;
    color: gray;
    margin-bottom: 2.5px;
    line-height: 1.2;
}

.show-station a {
    color: gray;
    text-decoration: underline;
}

.show-station a:hover {
    color: #fff;
    text-decoration: underline;
}

.show-location {
    font-size: 0.8rem;
    font-weight: normal;
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 2.5px;
    color: gray;
}

.show-time {
    font-size: 0.7rem;
    color: #0277bd;
    line-height: 1.2;
}

/* Modal Styles */
.modal {
    display: block;
    position: fixed;
    z-index: 2000; /* Must be higher than fixed player (z-index: 1001) and header (z-index: 1000) */
    isolation: isolate;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-dialog {
    position: relative;
    width: auto;
    max-width: 500px;
    margin: 1.75rem auto;
    overflow: visible; /* Allow close button to render outside the box */
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: #000;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.5);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    gap: 10px;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #000;
}

/* Note: Base button styles (.btn, .btn-primary, .btn-secondary) are defined in app.css */

@media (max-width: 992px) {
    .stations-grid {
        grid-template-columns: repeat(4, minmax(120px, max-content));
    }
}

@media (max-width: 768px) {
    .stations-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-controls {
        width: 100%;
    }

    .station-box {
        min-width: 100px;
        height: 90px;
    }

    .stations-grid {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    .stations-grid {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }
}

/* Source Type Border Colors */
.show-box.source-liked {
    border: 3px solid #007bff !important; /* Blue border for liked shows */
}

.show-box.source-tagged {
    border: 3px solid #28a745 !important; /* Green border for tagged shows */
}

.show-box.source-virtual {
    border: 3px solid #dc3545 !important; /* Red border for virtual shows from liked stations */
}

.show-box.source-alphabetical {
    border: 3px solid #ffc107 !important; /* Yellow border for alphabetical stations */
}

/* Welcome Message for Unauthenticated Users */
.unauthorized-container {
    position: relative;
    overflow: hidden;
    background: transparent;
    border-radius: 0px;
    padding: 0px 20px;
    margin-bottom: 12px;
    box-shadow: none;
}

.unauthorized-content {
    position: relative;
    z-index: 2;
}

.welcome-message {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.welcome-body {
    margin-bottom: 0;
}

.welcome-body p {
    font-size: 1rem;
    margin-top: 6px;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Share Popover Styles */
.share-popover {
    position: fixed;
    z-index: 9999;
    background: #fff;
    border: 2px solid #1b6ec2;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    padding: 0;
    animation: popoverFadeIn 0.2s ease;
    min-width: 200px;
}

.share-popover-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #dc3545;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 1;
}

.share-popover-close:hover {
    background: #c82333;
    transform: scale(1.1);
}

.share-popover-close svg {
    width: 12px;
    height: 12px;
    color: #fff;
    font-weight: bold;
}

@keyframes popoverFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.share-popover-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #1b6ec2 0%, #155a9c 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    transition: background 0.2s ease;
    white-space: nowrap;
    min-width: 180px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.share-popover-btn:hover {
    background: linear-gradient(135deg, #155a9c 0%, #0d4a8a 100%);
}

.share-popover-btn svg {
    width: 20px;
    height: 20px;
    color: #fff;
    flex-shrink: 0;
}

.share-popover-btn.copied {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.share-popover-btn.copied svg {
    color: #fff;
}

.show-station.fader span {
    transition: opacity 0.5s ease-in-out;
}

/* Tag Modal Panel Styles - uses sibling pattern for reliable click handling */
.tag-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2000;
}

.tag-modal-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2001;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

/* Station Details Panel Styles - uses sibling pattern for reliable click handling */
.station-details-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2000;
}

.station-details-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2001;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

/* Status Tabs - used on Account Settings, Admin pages */
.status-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #555;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.status-tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 3px solid transparent;
    color: #aaa !important;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-left: 3px;
    text-decoration: none !important;
}

.status-tab:hover {
    color: #000 !important;
    border-bottom-color: #fff;
    background-color: gray;
    border-radius: 10px 10px 0 0;
}

.status-tab.active {
    color: #000 !important;
    border-bottom-color: #fff;
    background-color: #fff;
    border-radius: 10px 10px 0 0;
}

.show-name-label
{
    color:#000;
}