﻿.products-page {
    display: grid;
    grid-template-columns: 400px 1fr;
    align-items: start;
}


.sidebar-filter {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    background: #181818;
    padding: 25px 25px;
    left: 0;
    top: -31px;
    position: relative;
    flex-shrink: 0;
    scrollbar-width: thin;
    border-right: 2px solid white;
    border: 1px solid #2a2a2a;
    width: 300px;
}

.sidebar-filter {
    scrollbar-width: thin;
    scrollbar-color: rgb(231,196,123) #1b1b1b;
}


.sidebar-filter::-webkit-scrollbar {
    width: 10px;
}

.sidebar-filter::-webkit-scrollbar-track {
    background: #1b1b1b;
    border-radius: 10px;
}

.sidebar-filter::-webkit-scrollbar-thumb {
    background: rgb(231,196,123);
    border-radius: 10px;
    border: 2px solid #1b1b1b;
    transition: background .2s ease;
}

.sidebar-filter::-webkit-scrollbar-thumb:hover {
    background: rgb(241,206,133);
}

.sidebar-filter::-webkit-scrollbar-corner {
    background: #1b1b1b;
}

.sidebar:hover::-webkit-scrollbar-thumb {
    background: rgb(231,196,123);
}

.sidebar-filter p {
    margin-bottom: 0;
    margin-top: 10px;
}


#filter-announcement {
    font-size: 30px;
    color: white;
}

.filter-option {
    color: rgb(231,196,123);
    font-weight: 700;
    font-size: 25px;
}

.option-container {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.option-container p,
.option {
    margin: 0;
    font-size: 20px;
    text-decoration: none;
    color: white;
    padding: 10px 12px;
    border-radius: 8px;
    transition: .2s;
}


.option:hover {
    background: #262626;
    color: rgb(231,196,123);
    padding-left: 18px;
    cursor: pointer;
}

.filter-icon {
    width: 30px;
    height: 30px;
}


.product-buttons-column-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
}

.admin-options-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0px 20px;
}

.admin-title {
    color: #f5d38a;
    font-size: 32px;
}

.pagination-container{
    display: flex;
    justify-content: center;
}

.btn-update {
    background: #d6b36a;
    color: #111;
    border: 1px solid #d6b36a;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: .25s;
    display: flex;
}

.btn-update:hover {
    background: #e6c57a;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(212,175,55,.25);
    text-decoration: none;
    color: #111;
}

.btn-archive {
    background: rgba(180,70,70,.15);
    border: 1px solid #9c3d3d;
    color: #d97a7a;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: .25s;
}

.btn-archive:hover {
    background: #9c3d3d;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(156,61,61,.3);
    text-decoration: none;
    color: #111;
}

.add-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #d6b36a;
    color: #111;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s;
}

.add-product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(212,175,55,.25);
    text-decoration: none;
    color: #111;
}

.products-stats {
    display: flex;
    justify-content: end;
    gap: 20px;
    margin: 35px 0;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 220px;
    padding: 18px 24px;
    background: #1d1d1f;
    border: 1px solid rgba(231,196,123,.15);
    border-radius: 16px;
    transition: .25s;
}

    .stat-card:hover {
        transform: translateY(-3px);
        border-color: rgb(231,196,123);
        box-shadow: 0 8px 24px rgba(231,196,123,.08);
    }

.stat-icon {
    width: 54px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(231,196,123,.12);
    color: rgb(231,196,123);
    font-size: 22px;
}

.stat-icon.active {
    background: rgba(34,197,94,.12);
    color: #22c55e;
}

.stat-icon.archived {
    background: rgba(239,68,68,.12);
    color: #ef4444;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 30px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    margin-top: 4px;
    color: #b8b8b8;
    font-size: 15px;
}

.unarchive-btn {
    background: rgba(46, 204, 113, 0.12);
    color: #41d97a;
    border: 1px solid rgba(65, 217, 122, 0.35);
    border-radius: 12px;
    padding: 10px 20px;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: all .25s ease;
    text-decoration: none;
}

.unarchive-btn:hover {
    background: #41d97a;
    color: #111;
    border-color: #41d97a;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(65,217,122,.25);
    cursor: pointer;
}

.unarchive-btn:active {
    transform: translateY(0);
}