/* requests.css - Who Dat Idols Content Requests Page */

/* Ambient Glow */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.glow-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #2979ff 0%, transparent 70%);
    bottom: 50px;
    right: -120px;
}


/* Minimal Watch-Style Header */
header {
    background: rgba(14, 14, 18, 0.88) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    color: var(--white, #ffffff) !important;
    padding: 14px 24px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-sizing: border-box !important;
}

header .logo-link {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

header .logo {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    transition: transform 0.2s ease !important;
}

header .logo:hover {
    transform: scale(1.04) !important;
}

/* Page Layout - spaced so it does NOT stay behind the fixed header */
.requests-main {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 100px auto 80px auto;
    padding: 0 24px;
}

/* Hero Section */
.requests-hero {
    margin-bottom: 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.requests-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.8;
}

.requests-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requests-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.requests-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.requests-subtitle .accent-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #0b0c10;
    border: none;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.5);
    filter: brightness(1.08);
}

.btn-primary-glow.btn-sm {
    padding: 9px 18px;
    font-size: 0.85rem;
    border-radius: 9px;
}

/* Controls & Filter Card */
.requests-controls-card {
    background: rgba(22, 24, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 25px;
}

.type-filter-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    padding: 8px 18px;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.filter-tab.active {
    background: var(--primary-color);
    color: #0b0c10;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sort-selector {
    display: flex;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sort-pill {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.sort-pill:hover {
    color: #ffffff;
}

.sort-pill.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.inline-search-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 6px 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.inline-search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
    color: var(--primary-color);
}

.inline-search-box input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.85rem;
    margin-left: 8px;
    outline: none;
    width: 140px;
    transition: width 0.2s ease;
}

.inline-search-box input:focus {
    width: 190px;
}

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

/* Request Card */
.request-card {
    background: rgba(25, 27, 34, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    gap: 16px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.request-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

/* Card Poster - 9:16 Aspect Ratio */
.request-card-poster {
    width: 90px;
    min-width: 90px;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1f222e 0%, #11131a 100%);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

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

.poster-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    gap: 8px;
    font-size: 1.5rem;
}

.poster-fallback span {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Card Body */
.request-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.card-top-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.badge-type {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-type.series {
    background: rgba(41, 121, 255, 0.15);
    border: 1px solid rgba(41, 121, 255, 0.4);
    color: #82b1ff;
}

.badge-type.movie {
    background: rgba(255, 171, 0, 0.15);
    border: 1px solid rgba(255, 171, 0, 0.4);
    color: #ffc107;
}

.badge-year {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 7px;
    border-radius: 6px;
}

.badge-status {
    font-size: 0.68rem;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-status.pending {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
}

.badge-status.approved {
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid rgba(0, 230, 118, 0.4);
    color: #00e676;
}

.badge-status.completed {
    background: rgba(30, 215, 96, 0.18);
    border: 1px solid rgba(30, 215, 96, 0.5);
    color: var(--primary-color);
}

.request-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.35;
    word-break: break-word;
}

.request-card-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.2);
    border-left: 2px solid rgba(var(--primary-rgb), 0.5);
    padding: 6px 10px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Requester Meta */
.request-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.requester-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.requester-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background-color: #2c303f;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.requester-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.requester-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.request-date {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Upvote Button (+) */
.vote-button-wrap {
    flex-shrink: 0;
}

.btn-vote {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 10px;
    padding: 7px 13px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-vote i {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.btn-vote:hover {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.4);
    transform: scale(1.05);
}

.btn-vote:hover i {
    transform: rotate(90deg);
}

.btn-vote.voted {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.25) 0%, rgba(var(--primary-rgb), 0.12) 100%);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
}

.btn-vote.voted i {
    color: var(--primary-color);
}

/* Empty State */
.requests-empty-state {
    text-align: center;
    padding: 70px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin: 30px 0;
}

.empty-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.requests-empty-state h3 {
    font-size: 1.35rem;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.requests-empty-state p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 22px 0;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: #0b0c10;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.page-indicator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    font-weight: 500;
}

/* NEW REQUEST MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-dialog {
    background: #14161d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 22px 26px 16px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 1.35rem;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.modal-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.close-modal-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal-btn:hover {
    color: #ffffff;
}

.modal-body {
    padding: 24px 26px;
}

/* Auth Warning Box */
.auth-warning-box {
    background: rgba(255, 82, 82, 0.12);
    border: 1px solid rgba(255, 82, 82, 0.35);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #ffffff;
}

.auth-warning-box i {
    font-size: 1.6rem;
    color: #ff5252;
}

.auth-warning-box h4 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    color: #ff5252;
}

.auth-warning-box p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Already Exists Banner */
.already-exists-banner {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.14) 0%, rgba(30, 215, 96, 0.06) 100%);
    border: 1px solid rgba(0, 230, 118, 0.45);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    box-shadow: 0 4px 18px rgba(0, 230, 118, 0.12);
}

.already-exists-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.2);
    color: #00e676;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.already-exists-info {
    flex: 1;
    min-width: 0;
}

.already-exists-info strong {
    display: block;
    color: #00e676;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.already-exists-info span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.35;
    display: block;
}

.btn-watch-existing {
    background: #00e676;
    color: #0b0c10 !important;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 230, 118, 0.35);
    flex-shrink: 0;
}

.btn-watch-existing:hover {
    background: #1ed760;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 230, 118, 0.5);
}

/* Form Elements */
.request-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.required-star {
    color: #ff5252;
}

.type-selection-radios {
    display: flex;
    gap: 12px;
}

.radio-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.radio-pill input {
    display: none;
}

.radio-pill:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
}

.radio-pill.active {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 2;
}

.search-spinner {
    position: absolute;
    right: 50px;
    color: var(--primary-color);
    z-index: 2;
}

.btn-search-trigger {
    position: absolute;
    right: 8px;
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid rgba(var(--primary-rgb), 0.4);
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 3;
}

.btn-search-trigger:hover {
    background: var(--primary-color);
    color: #0b0c10;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.search-input-wrapper .form-input {
    padding-left: 40px;
    padding-right: 85px;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.form-row {
    display: flex;
    gap: 14px;
}

.col-half {
    flex: 1;
}

/* Autocomplete Dropdown - relative flow so it naturally fits dialog */
.autocomplete-dropdown {
    position: relative;
    margin-top: 10px;
    max-height: 280px;
    overflow-y: auto;
    background: #191c24;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    z-index: 50;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: rgba(var(--primary-rgb), 0.15);
}

.autocomplete-thumb {
    width: 36px;
    height: 52px;
    border-radius: 6px;
    object-fit: cover;
    background: #252833;
    flex-shrink: 0;
}

.autocomplete-meta {
    flex: 1;
    min-width: 0;
}

.autocomplete-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.autocomplete-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.source-badge {
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 4px;
    color: var(--primary-color);
}

.source-badge.existing {
    background: rgba(0, 230, 118, 0.16);
    border: 1px solid rgba(0, 230, 118, 0.45);
    color: #00e676;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Selected Preview Card */
.selected-preview-card {
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.35);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
}

.preview-poster {
    width: 55px;
    height: 82px;
    border-radius: 8px;
    object-fit: cover;
    background: #1c1e27;
    flex-shrink: 0;
}

.preview-info {
    flex: 1;
    min-width: 0;
}

.preview-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.preview-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.type-pill {
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--primary-color);
}

.preview-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 3px 0 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot-separator {
    opacity: 0.4;
}

.preview-overview {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.35;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-clear-selection {
    background: transparent;
    border: none;
    color: #ff5252;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-clear-selection:hover {
    text-decoration: underline;
}

/* Manual Entry Toggle */
.manual-entry-toggle-wrap {
    margin-bottom: 18px;
    text-align: right;
}

.btn-text-toggle {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.btn-text-toggle:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.manual-fields-group {
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

/* Form Feedback & Modal Footer */
.form-feedback {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.form-feedback.error {
    background: rgba(255, 82, 82, 0.15);
    border: 1px solid rgba(255, 82, 82, 0.4);
    color: #ff6b6b;
}

.form-feedback.success {
    background: rgba(30, 215, 96, 0.15);
    border: 1px solid rgba(30, 215, 96, 0.4);
    color: var(--primary-color);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10001;
    animation: toastSlideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes toastSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.toast-card {
    background: #1f222c;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
}

.toast-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .requests-main {
        margin: 85px auto 40px auto;
        padding: 0 16px;
    }

    .requests-hero {
        padding: 24px;
    }

    .requests-title {
        font-size: 1.8rem;
    }

    .requests-grid {
        grid-template-columns: 1fr;
    }

    .requests-controls-card {
        flex-direction: column;
        align-items: stretch;
    }

    .controls-right {
        justify-content: space-between;
    }

    .inline-search-box input {
        width: 100%;
    }

    .inline-search-box input:focus {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
