.vas-panel-container {
    max-width: 100%;
    width: 100%;
    background-color: white;
    border-radius: 8px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    font-family: 'NaNMetrifyAWide-Reg', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.vas-panel-container .title-black {
    font-family: 'NaNMetrifyAGigawide-BlckIt';
    font-size: 24px;
    font-style: italic;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient(88deg, #000 3.45%, #000C91 49.95%, #0FD 97.38%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel-text {
    color: #0066ff;
    font-weight: 700;
}

/* Alphabet Navigation */
.alphabet-nav-wrapper {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alphabet-nav-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    background: transparent;
    border-radius: 8px;
    padding: 10px 0;
    position: relative;
}

.alphabet-nav {
    display: contents;
}

/* Mobile dropdown toggle button */
.alphabet-dropdown-toggle {
    display: none;
    width: 30px;
    height: 30px;
    border: none;
    background-color: #fafafb;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    order: 999;
}

.alphabet-dropdown-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.alphabet-dropdown-toggle.active svg {
    transform: rotate(180deg);
}

.letter-btn {
    font-family: 'NaNMetrifyAWide-Reg', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: none;
    min-width: 30px;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background-color: #fafafb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    color: rgba(0, 0, 0, 0.60);
    text-align: center;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    padding-top: 4px;
}

.letter-btn.hidden-mobile {
    display: none !important;
}

.alphabet-nav-container.expanded .letter-btn.hidden-mobile {
    display: flex !important;
}

.letter-btn:hover {
    background-color: #00ffae;
    color: #000000;
}

.letter-btn.active {
    background-color: #000000;
    color: #00ffae;
    font-weight: 800;
    font-size: 20px;
    padding-top: 2px;
}

.letter-btn:active {
    transform: scale(0.95);
}

.letter-btn:focus:not(:focus-visible) {
    outline: none;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
    z-index: 10;
    margin-top: 5px;
}

.search-btn {
    width: 30px;
    height: 30px;
    border: none;
    background-color: #00ffae;
    border-radius: 9.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.close-search-btn svg {
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.search-btn:hover {
    background-color: #00c09f;
}

.search-btn:focus:not(:focus-visible) {
    outline: none;
}

.search-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.search-input-wrapper {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid #282826;
    border-radius: 100px;
    padding: 0 10px;
    height: 32px;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.search-input-wrapper.active {
    width: 250px;
    opacity: 1;
    pointer-events: all;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #333;
    font-family: 'NaNMetrifyAWide-Reg', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    padding: 0 10px;
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus:not(:focus-visible) {
    outline: none;
}

.close-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
    margin-left: -50px;
}

.close-search-btn:hover {
    opacity: 0.7;
}

.close-search-btn:focus:not(:focus-visible) {
    outline: none;
}

/* Data Section */
.data-section {
    border-radius: 8px;
    overflow: visible;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 50px;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
    flex-shrink: 0;
    padding-right: 30px;
}

.column-header {
    background-color: #010a33;
    color: white;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    height: 42px;
}

.table-body {
    background-color: transparent;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-gutter: stable;
}

.table-body:not(.expanded) {
    overflow-y: hidden;
}

.table-body.expanded {
    overflow-y: auto;
}

/* Custom Scrollbar */
.table-body::-webkit-scrollbar {
    width: 8px;
}

.table-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.table-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 12px;
    padding-right: 20px;
}

.cell {
    background-color: #fafafb;
    color: #000;
    font-size: 15px;
    line-height: normal;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: none;
    min-height: 42px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.load-more-btn {
    width: auto;
    padding: 18px;
    margin: 0 auto;
    border: none;
    background-color: transparent;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-align: center;
    display: inline-block;
}

.load-more-btn:hover {
    background-color: transparent;
    color: #333;
}

.load-more-btn:focus:not(:focus-visible) {
    outline: none;
}

.subtitle {
    color: #282826;
    font-family: 'NaNMetrifyAWide-Reg';
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Responsive Design */
@media (max-width: 767px) {
    .vas-panel-container {
        height: auto;
        min-height: 100vh;
    }

    .data-section {
        margin-right: 0;
        flex: initial;
    }

    .table-header {
        display: none;
    }

    .table-body {
        scrollbar-gutter: auto;
    }

    .table-body::-webkit-scrollbar {
        display: none;
    }

    .table-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 20px;
        padding-right: 0;
    }

    .table-row .cell:first-child {
        background-color: #0f1535;
        color: white;
        font-weight: 600;
        border-radius: 10px;
        margin-bottom: 10px;
        border: none;
        box-shadow: none;
    }

    .table-row .cell:first-child:hover {
        transform: none;
        box-shadow: none;
    }

    .table-row .cell:not(:first-child) {
        background-color: #f5f5f5;
        border: none;
        box-shadow: none;
        padding: 12px 20px;
        text-align: center;
        color: #000;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .table-row .cell:not(:first-child):hover {
        transform: none;
        box-shadow: none;
    }
    
    .table-row .cell:last-child {
        margin-bottom: 0;
    }

    .alphabet-nav-wrapper {
        align-items: flex-start;
    }

    .alphabet-nav-container {
        background: #FAFAFB;
        padding: 5px;
        gap: 5px;
    }

    .letter-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
        background-color: white;
    }

    .alphabet-dropdown-toggle {
        display: flex;
        width: 28px;
        height: 28px;
        background-color: white;
    }

    .cell{
        font-size: 13px;
    }
}

@media (min-width: 1200px) and (max-width: 1299px) {
.vas-panel-container {
    max-width: 96%;
}
}

@media (min-width: 1025px) and (max-width: 1099px) {
.vas-panel-container {
    max-width: 95%;
}
}

@media (max-width: 1024px) {
 .letter-btn{
    font-size: 15px;
 }
}
