@import "../../mrt-color.css";

/* Search UI */
#search-container {
    padding: 2vw;
    background-color: #171717;
    border-bottom: 1px solid #333;
}

#search-input {
    width: calc(100% - 24px);
    padding: 12px;
    background: #000;
    border: 1px solid #444;
    color: white;
    font-size: 0.9rem;
    font-family: 'Ubuntu';
    border-radius: 4px;
    margin-bottom: 15px;
}

.search-options {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #bbb;
}

#filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-filter {
    padding: 5px 12px;
    border: 1px solid var(--line-color);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.2s;
}

/* Audio Cards */
.audio-card {
    background-color: #202020;
    width: 90vw;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
}

.audio-title { font-size: 1.5rem; margin: 0 0 5px 0; color: #fff; }

.tag-mini {
    font-size: 0.7rem;
    background: #444;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 5px;
    text-transform: uppercase;
}

/* Player UI */
.custom-player {
    margin-top: 15px;
    background: #171717;
    padding: 12px;
    border-radius: 4px;
}

.controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-mid {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 4px;
}

.time-display {
    font-size: 0.75rem;
    color: #888;
    text-align: right;
}

button, .download-btn {
    background: none;
    border: 1px solid #ffffff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
}

button:hover, .download-btn:hover {
    background: #fff;
}

.ctrl-icon {
    width: 18px;
    height: 18px;
    filter: invert(1);
}

button:hover .ctrl-icon { filter: invert(0); }

.progress-bar {
    width: 100%;
    cursor: pointer;
    accent-color: var(--line-color);
}

/* Show More */
.annc-show-more {
    display: block;
    width: auto !important;
    height: auto !important;
    margin: 12px 0 5px 0;
    padding: 6px 16px;
    background: none;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
    font-family: 'Ubuntu';
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
}

.annc-show-more:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.tags-row {
    margin-bottom: 5px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #202020;
    margin: 5% auto;
    padding: 25px;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    position: relative;
    color: white;
}

.modal-tabs {
    display: flex;
    gap: 2px;
    margin-top: 15px;
    border-bottom: 2px solid #333;
}

.tab-button {
    background: #333;
    border: none;
    color: #888;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Ubuntu';
    font-weight: 700;
    border-radius: 4px 4px 0 0;
    width: auto !important;
}

.tab-pane {
    background: #171717;
    padding: 20px;
    min-height: 150px;
    margin-bottom: 20px;
}

.modal-player {
    background: #111;
    padding: 15px;
    border-radius: 8px;
}

.modal-progress-bar {
    accent-color: var(--line-color);
}
