/* ==========================================================================
   Browse Page Inline Styles — Extracted from browse.php
   ========================================================================== */

/* Filter Toggle Button */
.btn-filter-toggle {
    background: linear-gradient(135deg, #FFBADE 0%, #ff9aca 100%);
    color: #1a1a2e;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.btn-filter-toggle:hover {
    background: linear-gradient(135deg, #ff9aca 0%, #FFBADE 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 186, 222, 0.4);
}

.btn-filter-toggle .filter-arrow {
    transition: transform 0.3s ease;
}

.btn-filter-toggle.active .filter-arrow {
    transform: rotate(180deg);
}

/* Filter Panel */
.filter-panel {
    background: linear-gradient(145deg, #2a2a3d 0%, #1f1f2e 100%);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid rgba(255, 186, 222, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .filter-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    color: #FFBADE;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    background: #1a1a2e;
    border: 1px solid rgba(255, 186, 222, 0.2);
    border-radius: 8px;
    color: #fff;
    padding: 12px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23FFBADE' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592c.86 0 1.319 1.013.753 1.658l-4.796 5.482a1 1 0 01-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.filter-select:hover {
    border-color: #FFBADE;
}

.filter-select:focus {
    outline: none;
    border-color: #FFBADE;
    box-shadow: 0 0 0 3px rgba(255, 186, 222, 0.2);
}

.filter-select option {
    background: #1a1a2e;
    color: #fff;
    padding: 10px;
}

/* Filter Actions */
.filter-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.btn-filter-apply {
    background: linear-gradient(135deg, #FFBADE 0%, #ff9aca 100%);
    color: #1a1a2e;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 186, 222, 0.4);
}

.btn-filter-reset {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-filter-reset:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Header alignment */
.block_area-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bah-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

/* Format Type Quick Filter Tabs */
.format-filter-tabs {
    display: flex;
    gap: 10px;
    padding: 20px 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 186, 222, 0.3) transparent;
}

.format-filter-tabs::-webkit-scrollbar {
    height: 6px;
}

.format-filter-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.format-filter-tabs::-webkit-scrollbar-thumb {
    background: rgba(255, 186, 222, 0.3);
    border-radius: 3px;
}

.format-filter-tabs::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 186, 222, 0.5);
}

.format-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 186, 222, 0.2);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.format-tab:hover {
    background: rgba(255, 186, 222, 0.1);
    border-color: #FFBADE;
    color: #FFBADE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 186, 222, 0.2);
}

.format-tab.active {
    background: linear-gradient(135deg, #FFBADE 0%, #ff9aca 100%);
    border-color: #FFBADE;
    color: #1a1a2e;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 186, 222, 0.4);
}

.format-tab.active:hover {
    transform: translateY(-1px);
}

.format-tab i {
    font-size: 16px;
}

.format-tab span {
    font-size: 14px;
}

@media (max-width: 768px) {
    .format-filter-tabs {
        padding: 15px 0;
        gap: 8px;
    }
    
    .format-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .format-tab i {
        font-size: 14px;
    }
    
    .format-tab span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .format-tab span {
        display: none;
    }
    
    .format-tab {
        padding: 10px 14px;
    }
    
    .format-tab i {
        font-size: 16px;
    }
}
