/* Custom Scrollbars & Overrides */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.export-input-group {
    width: min(50vw, 100%);
    min-width: 300px;
    margin-inline: auto;
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    direction: ltr;
}

.export-input-group select,
.export-input-group button {
    min-width: 0;
}

/*Custom Modal*/
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: inherit;
}

.custom-modal-content {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalScaleUp 0.2s ease-in-out;
}

.custom-modal-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.custom-modal-content h3 {
    margin: 0 0 8px;
    color: #333;
    font-size: 18px;
}

.custom-modal-content p {
    margin: 0 0 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.custom-modal-btn {
    background-color: #4f46e5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    font-weight: 550;
    transition: background-color 0.2s;
}

.custom-modal-btn:hover {
    background-color: #4338ca;
}

@keyframes modalScaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/*End Custom Modal */


@media (max-width: 640px) {
    .export-input-group {
        width: 100%;
        min-width: 0;
        flex-direction: column;
    }
}