/* =====================================================
   AI Call Supervisor – Styles (v1)
===================================================== */

.ai-cs-card {
    max-width: 720px;
    margin: 24px auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* -------------------------------------
   Header
------------------------------------- */

.ai-cs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ai-cs-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* -------------------------------------
   Status Badge
------------------------------------- */

.ai-cs-status {
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ai-cs-status-idle {
    background: #f3f4f6;
    color: #6b7280;
}

.ai-cs-status-queued,
.ai-cs-status-ringing {
    background: #e0e7ff;
    color: #3730a3;
}

.ai-cs-status-in-progress {
    background: #dcfce7;
    color: #166534;
}

.ai-cs-status-completed {
    background: #e5e7eb;
    color: #374151;
}

.ai-cs-status-failed,
.ai-cs-status-busy,
.ai-cs-status-no-answer {
    background: #fee2e2;
    color: #991b1b;
}

.ai-cs-status-unknown {
    background: #fef3c7;
    color: #92400e;
}

/* -------------------------------------
   Metadata
------------------------------------- */

.ai-cs-meta {
    margin: 12px 0 20px;
}

.ai-cs-muted {
    color: #6b7280;
    font-size: 14px;
}

.ai-cs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ai-cs-table td {
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}

.ai-cs-table td:first-child {
    color: #6b7280;
    width: 140px;
}

.ai-cs-table code {
    font-size: 12px;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
}

/* -------------------------------------
   Transfer Section
------------------------------------- */

.ai-cs-transfer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.ai-cs-transfer label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.ai-cs-transfer input {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    margin-bottom: 10px;
}

.ai-cs-transfer input:focus {
    outline: none;
    border-color: #6366f1;
}

/* -------------------------------------
   Buttons
------------------------------------- */

.ai-cs-btn {
    display: inline-block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.ai-cs-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ai-cs-danger {
    background: #dc2626;
    color: #ffffff;
}

.ai-cs-danger:hover {
    background: #b91c1c;
}

/* -------------------------------------
   Feedback
------------------------------------- */

.ai-cs-feedback {
    margin-top: 12px;
}

.ai-cs-error {
    color: #991b1b;
    background: #fee2e2;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
}

.ai-cs-success {
    color: #065f46;
    background: #d1fae5;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
}
