.page-wrapper {
    padding: 20px clamp(5%, 15vw, 25%);
    margin-top: 10px;
}
body .ast-primary-header-bar {
    background-color: transparent !important;
    font-family: 'Roboto', sans-serif !important;
}
.header-fixed {
    position: sticky;
    top: 0;
    z-index: 10;
}
.bid-box table,
.bid-box table tr,
.bid-box table td {
    border: none !important;
}
.glass-card {
    background: rgba(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 20px;
}

.breadcrumb {
    font-size: 14px;
}

    .breadcrumb a {
        color: #0F172A;
        text-decoration: none;
    }

    .breadcrumb span {
        margin: 0 6px;
        color: #454F5E;
    }

.breadcrumb-card {
    background: rgba(255,255,255,0.65);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.4);
    margin-bottom: 18px;
}

.auction-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #0A1F3D;
}

.auction-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

    .auction-info table {
        width: 100%;
        border-collapse: collapse;
    }

    .auction-info td {
        padding: 8px 10px;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }

        .auction-info td:first-child {
            font-weight: 600;
            color: #454F5E;
            width: 180px;
        }

.info-toggle {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

    .info-toggle button {
        padding: 8px 12px;
        border: 1px solid #ddd;
        background: #fff;
        cursor: pointer;
        border-radius: 6px;
    }

.content-layout {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    min-height:400px;
}

.categories {
    width: 280px;
    max-height: 65vh;
    overflow-y: auto;
    padding-right: 10px;
}

    .categories .glass-card {
        padding: 16px;
    }

    .categories ul {
        list-style: none;
        padding-left: 0;
        margin-top: 10px;
        margin-left:0px;
    }

    .categories li {
        margin-bottom: 6px;
    }

        .categories li a {
            display: block;
            padding: 8px 10px;
            border-radius: 8px;
            text-decoration: none;
            color: #222;
            background: rgba(255,255,255,0.6);
            border: 1px solid rgba(0,0,0,0.08);
        }

            .categories li a:hover {
                background: rgba(255,255,255,0.9);
                border-color: #FAF6F2;
            }

            .categories li a.active {
                background: #F2E2D2;
                border-color: #FAF6F2;
                font-weight: 700;
            }

.category-header {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.articles {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    padding-bottom:5px;
}

    .articles .glass-card {
        padding: 16px;
    }

.article-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 15px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

    .article-item img {
        width: 130px;
        height: auto;
        border-radius: 8px;
        border: 1px solid rgba(0,0,0,0.08);
    }

    .article-item h2 {
        margin: 0 0 8px 0;
        font-size: 18px;
    }

    .article-item a {
        color: #103467;
        text-decoration: none;
    }

        .article-item a:hover {
            text-decoration: underline;
        }

.sort-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 16px;
    justify-content: flex-end;
}

    .sort-box .select2-container {
        width: 180px !important;
    }

.controls-wrapper {
    display: flex;
    align-items: center;
}

.sort-label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.sort-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 35px 8px 15px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

    .sort-dropdown:focus {
        outline: none;
        border-color: #D4F3D7;
        background-color: rgba(255,255,255,1);
    }

    .sort-dropdown:hover {
        border-color: #A8E6CF;
        background-color: #fafafa;
    }

    .sort-dropdown option {
        background: #ffffff;
        color: #333;
        padding: 10px;
    }

.select2-container--default .select2-selection--single {
    border-radius: 12px !important;
    border: 1px solid #e0e0e0 !important;
    padding: 4px 10px !important;
    transition: all 0.2s;
}

.select2-dropdown {
    bid-box glass-card border-radius: 15px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    overflow: hidden;
    margin-top: 5px;
    border-radius:10px !important;
}

.select2-results__option {
    padding: 10px 15px !important;
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #FAF6F2 !important;
    color: #333 !important;
}

.view-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    width: 200px;
}

.btn-view {
    width:95% !important;
    font-size: 14px !important;
    padding: 6px 12px !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    border-radius: 8px !important;
    cursor: pointer !important;
}

    .btn-view.active {
        background: #0A1F3D !important;
        color: white !important;
        border-color: #0A1F3D !important;
    }

#articleWrapper.view-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding-top: 20px;
}

.view-grid .article-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 15px;
}

    .view-grid .article-item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        margin-bottom: 10px;
    }

.view-grid .article-desc {
    display: none;
}

#articleWrapper.view-list .article-item {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 15px 0;
}

.btn-zeitplan {
    width: 120px;
    text-align: center;
    border-radius: 15px;
    padding: 8px 30px;
    background: #0A1F3D;
    color: white !important;
    text-decoration: none;
}


@media (max-width: 992px) {
    .page-wrapper {
        padding: 15px 20px;
    }

    .categories {
        width: 260px;
        max-height: none;
    }

    .articles {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .content-layout {
        flex-direction: column;
    }

    .categories,
    .articles {
        width: 100%;
        max-height: none;
        padding-right: 0;
    }

    #articleWrapper.view-list .article-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-item img {
        width: 100%;
        max-width: 200px;
    }

    .controls-wrapper {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    .view-switcher {
        justify-content: flex-end;
    }

    .sort-box {
        width: 100%;
    }

        .sort-box .select2-container {
            width: 100% !important;
        }
}

@media (max-width: 576px) {
    .header-fixed > div[style*="display: flex"] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .auction-title {
        font-size: 22px;
    }

    .btn-zeitplan {
        width: 80%;
        text-align: center;
        margin-right: 0 !important;
    }

    .auction-info table td {
        display: block;
        width: 100% !important;
        border-bottom: none;
        padding: 4px 0;
    }
}


.article-detail-content {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.article-left {
    flex: 0 0 35%;
    max-width: 400px;
}

.article-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-text {
    flex: 0 0 auto;
}

.article-right .bid-box {
    flex: 0 0 auto;
    width: 90%;
    max-width: 450px;
    background: rgba(242, 226, 210, 0.5);
    margin-top: 10px;
    padding: 15px;
    font-size: 14px;
    margin-left: auto;
}

    .article-right .bid-box table td {
        padding: 6px 0 !important; 
    }

 
    .article-right .bid-box .btn-view {
        font-size: 13px;
        padding: 8px;
    }

input:disabled {
    background-color: #f3f3f3;
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 1200px) {
    .article-detail-content {
        flex-direction: column;
    }

    .article-left,
    .article-right {
        flex: 0 0 auto;
        width: 100%;
    }

    .bid-box {
        width: 95% !important;
    }
}



.cat-toggle {
    display: none;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 10px;
}

.cat-title {
    display: inline-block;
}

@media (max-width: 768px) {
    .categories {
        width: 100%;
    }

        .categories ul {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.25s ease;
            margin-top: 0;
        }

            .categories ul.cat-open {
                max-height: 500px;
                margin-top: 10px;
            }

    .cat-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .cat-title {
        display: none;
    }
}
@media (max-width: 1100px) and (min-width: 769px) {
    .article-detail-content {
        gap: 15px; 
    }

    .article-left {
        flex: 0 0 30%; 
    }

    .categories {
        width: 200px; 
    }
}