@charset "UTF-8";

.category-filter {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin-bottom: 35px;
    padding: 30px;
}

.category-filter h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 800;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Increased gap */
}

.category-tags .tag {
    display: inline-block;
    background-color: #FFE4B5; /* Moccasin */
    color: #D2691E; /* Chocolate */
    padding: 10px 20px; /* Increased padding */
    border-radius: 20px; /* More rounded tags */
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    font-weight: 600;
    border: 1px solid #FFDAB9;
}

.category-tags .tag:hover {
    background-color: #FFDAB9; /* PeachPuff */
    color: #A0522D; /* Sienna */
    transform: translateY(-2px);
}

.category-tags .tag.active {
    background-color: #FFB88D; /* Soft Peach Orange */
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #FFB88D;
}

.app-list-section {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.app-list-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 800;
}

/* New List Layout */
.app-row-list {
    display: flex;
    flex-direction: column;
    gap: 18px; /* Spacing between list items */
}

.app-list-item {
    background-color: #FAF8F6; /* Item background */
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    padding: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #F0EFEF;
}

.app-list-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.app-list-item a {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between icon and info */
    color: inherit;
    width: 100%;
}

.app-list-item .app-icon {
    width: 70px; /* Icon size */
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
    border: 1px solid #FFDAB9;
}

.app-list-item .item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-list-item h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 700;
}

.app-list-item .category {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.app-list-item .meta-data {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 15px;
}

.app-list-item .download-button-small {
    background-color: #FFB88D;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
    margin-left: auto; /* Push button to the right */
}

.app-list-item .download-button-small:hover {
    background-color: #FF9A68;
    transform: translateY(-1px);
}


.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 15px 0;
    gap: 10px; /* Gap between page links */
}

.pagination .page-link {
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid #FFDAB9;
    border-radius: 10px;
    color: #555;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    font-size: 16px;
    font-weight: 600;
}

.pagination .page-link:hover {
    background-color: #FFE4B5;
    border-color: #FFDAB9;
    color: #333;
    transform: translateY(-2px);
}

.pagination .page-link.active {
    background-color: #FFB88D;
    border-color: #FFB88D;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tspage {
    font-size: 14px !important;
    background: none !important;
    clear: both !important;
    height: auto !important;
    overflow: hidden !important;
    line-height: 32px !important;
    padding: 0;
    text-align: center !important;
    border-radius: 12px !important;
    margin: 20px 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

.tspage i {
    font-style: normal;
    font-weight: 500;
}

.tspage a {
    color: #64748b !important;
    text-decoration: none;
    padding: 10px 16px;
    margin: 0 6px;
    display: inline-block;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    border: 1px solid transparent;
}

.tspage a:hover {
    color: #4a6cf7 !important;
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.tspage b {
    color: #fff !important;
    background-color: #4a6cf7 !important;
    padding: 10px 16px !important;
    margin: 0 6px !important;
    display: inline-block !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 12px rgba(74, 108, 247, 0.3) !important;
    transition: all 0.3s !important;
}

.tspage b:hover {
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.4) !important;
}

/* Ã©Å¡ÂÃ¨â€”ÂÃ¤Â¸ÂÃ©Å“â‚¬Ã¨Â¦ÂÃ§Å¡â€žÃ¥â€¦Æ’Ã§Â´Â  */
.tspage .tsp_count,
.tspage i:not(.tsp_next i):not(.tsp_prev i),
.tspage .tsp_end,
.tspage .tsp_first,
.tspage a.tsp_more,
.tspage a.tsp_end,
.tspage a.tsp_first,
.tspage .tsp_change {
    display: none !important;
}
/* Mobile specific adjustments for list page */
@media (max-width: 768px) {
    .category-filter {
        padding: 20px;
        margin-bottom: 30px;
    }

    .category-filter h2, .app-list-section h2 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 20px;
    }

    .category-tags {
        justify-content: center;
        gap: 10px;
    }

    .category-tags .tag {
        padding: 8px 15px;
        font-size: 13px;
        border-radius: 18px;
    }

    .app-list-section {
        padding: 20px;
    }

    .app-row-list {
        gap: 15px;
    }
    .app-list-item {
        padding: 15px;
    }
    .app-list-item a {
        flex-wrap: wrap; /* Allow wrapping */
        justify-content: center;
        text-align: center;
    }
    .app-list-item .app-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    .app-list-item .item-info {
        flex-basis: 100%; /* Take full width */
        order: 1; /* Move info below icon */
    }
    .app-list-item h3 {
        font-size: 18px;
        margin-bottom: 4px;
    }
    .app-list-item .category {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .app-list-item .meta-data {
        font-size: 12px;
        gap: 10px;
        justify-content: center;
    }
    .app-list-item .download-button-small {
        margin-top: 15px;
        margin-left: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        font-size: 15px;
    }


    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 30px;
    }

    .pagination .page-link {
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 8px;
    }
}