.request-page-container {
    padding: 40px 0px 70px;
    max-width: 1300px;
    margin: 0 auto;
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    gap: 10px;
    flex-wrap: wrap;
}

.back-btn .jws-icon-plus {
    display: none;
}

.request-header h1 {
    font-size: 32px;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}




/* Form Container Styles */
.request-form-container {}


/* Requests Grid */
.requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.request-card {
    background: var(--background-item);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.request-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}



.request-card-image {
    position: relative;
}

.request-card-image img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.request-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.imported-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #00a32a;
    color: white;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.request-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.request-card h6 {
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.request-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: var(--font-size-sm);
}

.vote-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vote-btn,
.view-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;

    >span {
        display: none;
    }
}



.no-requests {
    text-align: center;
    padding: 80px 20px;
}



.no-requests h3 {
    font-size: 24px;
    margin-bottom: 10px;
}



.search-type-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.type-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    background-color: var(--background-item);
}


.type-btn.active {
    background: linear-gradient(248.28deg, var(--btn-bgcolor) 9.539999999999999%, rgba(142, 97, 255, 0) 32.8%), radial-gradient(81.70999999999999% 279.87% at -16.57% -92%, var(--btn-bgcolor2) 28.69%, rgba(205, 219, 248, 0) 69.54000000000001%), var(--btn-bgcolor3);
    color: var(--btn-color);
}

.search-input-wrapper {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

#request-search-input {
    flex: 1;
}

#request-search-input:focus {
    outline: none;
    border-color: #2271b1;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(248.28deg, var(--btn-bgcolor) 9.539999999999999%, rgba(142, 97, 255, 0) 32.8%), radial-gradient(81.70999999999999% 279.87% at -16.57% -92%, var(--btn-bgcolor2) 28.69%, rgba(205, 219, 248, 0) 69.54000000000001%), var(--btn-bgcolor3);
    color: var(--btn-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.requests-list .pagination {
    margin-top: 40px;
    text-align: center;
}


.request-results {
    margin-top: 40px;
}

.request-results.loading {
    text-align: center;
    padding: 40px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.result-card {
    background: var(--background-item);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.result-card img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.result-card-body {
    padding: 15px;
}

.result-card h3 {
    font-size: 16px;
    margin: 0 0 8px 0;
    height: 40px;
    overflow: hidden;
}



.request-btn {
    width: 100%;
}



.request-btn.requested {
    background: #999;
    cursor: not-allowed;
}

.request-btn.exists {
    background: #2271b1;
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2271b1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media(max-width: 520px) {

    .results-grid,
    .requests-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .request-card h6 {
        -webkit-line-clamp: 1;
    }

    .imported-badge {
        left: 10px;
        right: inherit;
        top: 40px;
    }
}