.response-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-top: 30px;
}

.response-card h3 {
    color: #f1f5f9;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.response-content {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #94a3b8;
    white-space: pre-wrap;
    border: 1px solid rgba(71, 85, 105, 0.2);
    max-height: 400px;
    overflow-y: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 5px;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Table Styles */
.table-container {
    max-height: 400px;  /* Set a fixed height for scrolling */
    overflow-y: auto;   /* Enable vertical scrolling */
    margin: 1rem 0;
    border-radius: 8px;
    position: relative;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(71, 85, 105, 0.3);
}

.repo-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.repo-table thead {
    position: sticky;
    top: 0;
    background-color: #1f2937;  /* Match your dark theme */
    z-index: 1;
}

.repo-table th {
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    border-bottom: 2px solid rgba(71, 85, 105, 0.3);
}

.repo-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(71, 85, 105, 0.2);
    color: #e2e8f0;
}

.repo-row {
    cursor: pointer;
    transition: all 0.3s ease;
}

.repo-row:hover {
    background: rgba(59, 130, 246, 0.1);
}

.repo-row.selected {
    background: rgba(59, 130, 246, 0.2);
    border-left: 4px solid #3b82f6;
}

.repo-row.selected td {
    border-color: rgba(59, 130, 246, 0.3);
}

.select-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.select-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.editable {
    background: rgba(16, 185, 129, 0.1) !important;
    border-left: 3px solid #10b981;
}

.editable-field label {
    position: relative;
}

.editable-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.form-group input:read-only,
.form-group select:disabled {
    background: rgba(71, 85, 105, 0.3);
    color: #94a3b8;
    cursor: not-allowed;
}

.submit-btn:disabled {
    background: rgba(71, 85, 105, 0.5);
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.refresh-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.refresh-btn:hover {
    background: #2563eb;
}

.search-container {
    margin-bottom: 1rem;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #374151;
    border-radius: 4px;
    background-color: #1f2937;
    color: #f1f5f9;
    width: 300px;
    font-size: 0.9rem;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-input:focus {
    outline: none;
    border-color: #60a5fa;
}

/* Style the scrollbar for webkit browsers */
.table-container::-webkit-scrollbar {
    width: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}
