/* ============================================
   ADMIN REFERRAL REQUESTS PAGE - ADDITIVE STYLES
   Add this file AFTER admin-interviewscore-only.css
   ============================================ */

/* Request Card Styles */
.request-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.request-card:hover {
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(30, 41, 59, 0.7);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.request-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 0.25rem;
}

.request-meta {
    font-size: 0.875rem;
    color: #9ca3af;
}

.request-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    color: #e5e7eb;
    font-size: 0.9375rem;
}

.request-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filter-bar input,
.filter-bar select {
    flex: 1;
    min-width: 200px;
}

/* Share Link Container */
.share-link-container {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 0.375rem;
    padding: 1rem;
    margin: 1rem 0;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.share-link input {
    flex: 1;
    background: rgba(10, 15, 30, 0.5);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-family: monospace;
}

.copy-btn {
    background: rgba(96, 165, 250, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #60a5fa;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: rgba(96, 165, 250, 0.3);
}

.copy-btn.copied {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* Tab Styles */
.tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab {
    background: none;
    border: none;
    color: #9ca3af;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    font-weight: 500;
}

.tab:hover {
    color: #e5e7eb;
}

.tab.active {
    color: #60a5fa;
    border-bottom-color: #60a5fa;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Badge Danger */
.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .request-card {
        padding: 1rem;
    }

    .request-title {
        font-size: 1.125rem;
    }

    .request-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .request-actions {
        flex-direction: column;
    }

    .request-actions .btn {
        width: 100%;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-bar input,
    .filter-bar select {
        width: 100%;
    }

    .share-link {
        flex-direction: column;
    }

    .share-link input {
        width: 100%;
    }

    .copy-btn {
        width: 100%;
    }

    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab {
        flex-shrink: 0;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}
