body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.vouches-container {
    padding: 180px 20px 200px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.vouches-header {
    text-align: center;
    margin-bottom: 20px;
}

.vouches-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.header-icon {
    color: #ffd700;
    font-size: 3.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.vouches-header p {
    color: #888;
    margin-top: 15px;
    font-size: 1rem;
}

.vouch-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 40px auto 50px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    width: fit-content;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
}

.filter-controls,
.sort-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-controls span,
.sort-controls span {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.filter-pills {
    display: flex;
    gap: 6px;
}

.filter-pill {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-pill:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.filter-pill.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}


.custom-dropdown {
    position: relative;
    user-select: none;
}

.dropdown-selected {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 140px;
}

.dropdown-selected:hover,
.custom-dropdown.open .dropdown-selected {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.custom-dropdown.open .dropdown-selected i {
    transform: rotate(180deg);
}

.dropdown-selected i {
    font-size: 0.7rem;
    color: #888;
    transition: transform 0.3s ease;
}

.dropdown-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgb(8 8 8 / 95%);
    border: 2px solid rgba(20, 20, 20, 0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.custom-dropdown.open .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 10px 16px;
    font-size: 0.8rem;
    color: #ccc;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-option:hover {
    background: rgba(31, 31, 31, 0.623);
    color: #fff;
}

.dropdown-option.active {
    color: #fff;
    background: rgba(68, 68, 68, 0.1);
}

.vouches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.vouch-card {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    display: flex;
    flex-direction: column;
}

.vouch-card:hover {
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.08);
}

.vouch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vouch-card:hover::before {
    opacity: 1;
}

.vouch-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.vouch-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vouch-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #333;
    object-fit: cover;
    transition: border-color 0.3s ease;
}

.vouch-card:hover .vouch-avatar {
    border: 2px solid #fff;
}

.vouch-meta {
    display: flex;
    flex-direction: column;
}

.vouch-username {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.vouch-date {
    font-size: 0.8rem;
    color: #777;
    margin-top: 2px;
}

.vouch-product-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.65rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    outline: none;
}

.interactive-badge {
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.interactive-badge:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.tiny-icon {
    height: 16px;
    width: auto;
}

.vouch-stars {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    gap: 4px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.vouch-body {
    color: #d1d1d1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.vouch-proof-btn-container {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
}

.vouch-proof-btn {
    background: transparent;
    border: none;
    color: #999;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vouch-proof-btn i {
    font-size: 1.1rem;
}

.vouch-proof-btn:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}


.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
    transform: rotate(90deg);
}

.no-vouches {
    text-align: center;
    grid-column: 1 / -1;
    padding: 60px;
    color: #555;
}

.no-vouches i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #333;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.vouch-card:nth-child(1) {
    animation-delay: 0.1s;
}

.vouch-card:nth-child(2) {
    animation-delay: 0.15s;
}

.vouch-card:nth-child(3) {
    animation-delay: 0.2s;
}

.vouch-card:nth-child(4) {
    animation-delay: 0.25s;
}

.vouch-card:nth-child(5) {
    animation-delay: 0.3s;
}

.vouch-card:nth-child(6) {
    animation-delay: 0.35s;
}

.vouch-card:nth-child(7) {
    animation-delay: 0.4s;
}

.vouch-card:nth-child(8) {
    animation-delay: 0.45s;
}

.vouch-card:nth-child(9) {
    animation-delay: 0.5s;
}

.vouch-card:nth-child(10) {
    animation-delay: 0.55s;
}

.vouch-card:nth-child(n+11) {
    animation-delay: 0.6s;
}


/* ======================== ADD VOUCH BUTTON ======================== */
.add-vouch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    color: #000;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
}

.add-vouch-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15), 0 0 40px rgba(255, 255, 255, 0.08);
}

.add-vouch-btn:active {
    transform: translateY(0) scale(0.98);
}

.add-vouch-btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.add-vouch-btn:hover i {
    transform: rotate(90deg);
}

/* ======================== VOUCH MODAL OVERLAY ======================== */
.modal-overlay-vouch {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay-vouch.active {
    display: flex;
    opacity: 1;
}

/* ======================== VOUCH MODAL CARD ======================== */
.add-vouch-modal-card {
    background: rgba(8, 8, 8, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 520px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay-vouch.active .add-vouch-modal-card {
    transform: scale(1) translateY(0);
}

.add-vouch-modal-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.add-vouch-icon-wrap {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.02) 100%);
    border: 2px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.add-vouch-icon-wrap i {
    font-size: 2rem;
    color: #ffd700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.add-vouch-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-vouch-modal-header p {
    color: #666;
    margin-top: 6px;
    font-size: 0.85rem;
}

.add-vouch-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #888;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.add-vouch-close:hover {
    color: #fff;
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.4);
    transform: rotate(90deg);
}

/* ======================== STAR RATING ======================== */
.star-rating-input {
    display: flex;
    gap: 8px;
    cursor: pointer;
}

.star-rating-input i {
    font-size: 1.8rem;
    color: #ffd700;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.3));
}

.star-rating-input i.inactive {
    color: #333;
    filter: none;
}

.star-rating-input i:hover {
    transform: scale(1.25);
}

/* ======================== FORM GROUPS ======================== */
.vouch-form-group {
    margin-bottom: 22px;
}

.vouch-form-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

/* ======================== CUSTOM PRODUCT DROPDOWN ======================== */
.vouch-custom-select {
    position: relative;
    user-select: none;
    z-index: 100;
}

.vcs-selected {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vcs-selected:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.vouch-custom-select.open .vcs-selected {
    border-color: rgba(255, 215, 0, 0.4);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.vcs-placeholder {
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
}

.vcs-selected .vcs-chosen {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.vcs-chosen img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

.vcs-chosen i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.vcs-arrow {
    color: #555;
    font-size: 0.7rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.vouch-custom-select.open .vcs-arrow {
    transform: rotate(180deg);
    color: #ffd700;
}

.vcs-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 12, 12, 0.98);
    border: 2px solid rgba(255, 215, 0, 0.15);
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

.vouch-custom-select.open .vcs-options {
    max-height: 300px;
    opacity: 1;
}

.vcs-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.vcs-option:hover {
    background: rgba(255, 215, 0, 0.06);
    border-left-color: #ffd700;
}

.vcs-option.selected {
    background: rgba(255, 215, 0, 0.08);
    border-left-color: #ffd700;
}

.vcs-option span {
    color: #ccc;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.vcs-option:hover span {
    color: #fff;
}

.vcs-option.selected span {
    color: #ffd700;
}

.vcs-opt-img {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.2s ease;
}

.vcs-option:hover .vcs-opt-img {
    filter: grayscale(0%);
}

.vcs-opt-icon {
    font-size: 0.95rem;
    color: #666;
    width: 22px;
    text-align: center;
    transition: color 0.2s ease;
}

.vcs-option:hover .vcs-opt-icon {
    color: #ffd700;
}

.vouch-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
    transition: border-color 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.vouch-textarea:focus {
    border-color: rgba(255, 215, 0, 0.4);
}

.vouch-textarea::placeholder {
    color: #444;
}

.vouch-char-count {
    text-align: right;
    font-size: 0.7rem;
    color: #444;
    margin-top: 6px;
    font-weight: 600;
}

/* ======================== FILE UPLOAD ======================== */
.vouch-file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.vouch-file-upload:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.02);
}

.vouch-file-upload i {
    font-size: 1.5rem;
    color: #555;
    transition: color 0.3s ease;
}

.vouch-file-upload:hover i {
    color: #ffd700;
}

.vouch-file-upload span {
    font-size: 0.8rem;
    color: #555;
    font-weight: 600;
}

.vouch-image-preview {
    position: relative;
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.vouch-image-preview img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.vouch-remove-img {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.vouch-remove-img:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

/* ======================== SUBMIT BUTTON ======================== */
.vouch-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffd700 0%, #f0c000 100%);
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    margin-top: 10px;
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    animation: btnPulseVouch 2s infinite;
}

.vouch-submit-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    animation: none;
}

.vouch-submit-btn:active {
    transform: translateY(0);
}

.vouch-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    animation: none;
}

@keyframes btnPulseVouch {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.vouch-submit-error {
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e74c3c;
    padding: 10px;
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 10px;
}

/* ======================== SCROLLBAR ======================== */
.add-vouch-modal-card::-webkit-scrollbar {
    width: 6px;
}

.add-vouch-modal-card::-webkit-scrollbar-track {
    background: transparent;
}

.add-vouch-modal-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}