/* =========================================================
   BAYAAAN TOOLBAR (SEARCH + FILTER)
   ========================================================= */
.bayaan-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.bayaan-toolbar input,
.bayaan-toolbar select {
    flex: 1;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.35),
        rgba(0,0,0,.15)
    );
    border: 1px solid rgba(212,175,55,.5);
    color: #FAF8F4;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
}

.bayaan-toolbar input::placeholder {
    color: rgba(255,255,255,.55);
}

.bayaan-toolbar input:focus,
.bayaan-toolbar select:focus {
    outline: none;
    border-color: #E8C872;
    box-shadow: 0 0 12px rgba(212,175,55,.3);
}

/* =========================================================
   BAYAAAN LIST
   ========================================================= */
.bayaan-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* =========================================================
   BAYAAAN CARD (FOLDERS / SECTIONS)
   ========================================================= */
.bayaan-card {
    background:
        linear-gradient(180deg, rgba(107,30,46,.75), rgba(58,14,24,.85)),
        url('../svg/islamic-pattern.svg');
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all .25s ease;
    border: 1px solid rgba(212,175,55,.35);
}

.bayaan-card:hover {
    transform: translateY(-2px);
    border-color: #D4AF37;
    box-shadow: 0 0 20px rgba(212,175,55,.25);
}

.bayaan-card:active {
    transform: scale(.98);
}

/* TEXT */
.bayaan-info h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #FAF8F4;
}

.bayaan-info span {
    display: block;
    font-size: 13px;
    color: #E8C872;
    margin-top: 2px;
}

.bayaan-info small {
    font-size: 12px;
    opacity: .75;
}

/* ACTIONS */
.bayaan-actions {
    display: flex;
    gap: 12px;
}

/* PLAY BUTTON */
.play-btn-sm {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: radial-gradient(#E8C872,#D4AF37);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(212,175,55,.5);
    transition: all .2s ease;
}

.play-btn-sm:hover {
    transform: scale(1.08);
}

/* FAVORITE */
.fav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,.3);
    border: 1px solid #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fav-btn:hover {
    background: rgba(212,175,55,.15);
}

/* =========================================================
   AUDIO FILE CARD (FILES LIST)
   ========================================================= */
.audio-card {
    background: linear-gradient(
        180deg,
        rgba(107,30,46,0.85),
        rgba(58,14,24,0.9)
    );
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(212,175,55,0.35);
    cursor: pointer;
    transition: all 0.25s ease;
}

.audio-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 0 18px rgba(212,175,55,0.25);
    transform: translateY(-2px);
}

.audio-card:active {
    transform: scale(0.98);
}

.audio-card-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* LEFT ICON */
.audio-icon {
    font-size: 26px;
    color: #D4AF37;
    filter: drop-shadow(0 0 6px rgba(212,175,55,.5));
}

/* CENTER */
.audio-info {
    flex: 1;
    overflow: hidden;
}

.audio-title {
    font-size: 15px;
    font-weight: 500;
    color: #FAF8F4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-meta {
    font-size: 12px;
    color: #E8C872;
    margin-top: 2px;
}

/* RIGHT PLAY */
.audio-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(#E8C872,#D4AF37);
    color: #4A1420;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    box-shadow: 0 0 14px rgba(212,175,55,.5);
    transition: transform .2s ease;
}

.audio-card:hover .audio-play-btn {
    transform: scale(1.1);
}

/* CURRENT PLAYING */
.audio-card.playing {
    border-color: #E8C872;
    box-shadow: 0 0 22px rgba(232,200,114,.45);
}

/* =========================================================
   AUDIO PLAYER (GLOBAL)
   ========================================================= */
.audio-player {
    position: fixed;
    bottom: 80px;
    right: 5px;
    width: auto;
    background: linear-gradient(180deg, rgba(72, 16, 26, .95), rgba(58, 14, 24, .95));
    color: #d4af37;
    border-radius: 16px;
    border: 1px solid #d4af37;
    padding: 12px 14px;
    z-index: 999;
}

.player-content {
    text-align: center;
}

.track-title {
    font-size: 14px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.controls button {
    background: none;
    border: 1px solid #d4af37;
    color: #d4af37;
    font-size: 16px;
    padding: 4px 10px;
    border-radius: 10px;
    margin: 0 4px;
}

#seekBar {
    width: 100%;
    margin-top: 6px;
}

/* =========================================================
   MOBILE TWEAKS
   ========================================================= */
@media (max-width: 576px) {
    .audio-title {
        font-size: 14px;
    }

    .audio-play-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}
