/* Conflict modal shown when the user tries to start a second session
   while one is already active. Lives in the parent tab. */

.studio-conflict-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.studio-conflict-modal.is-open { display: flex; }

.studio-conflict-modal .scm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.studio-conflict-modal .scm-card {
    position: relative;
    background: #ffffff;
    color: #111827;
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    width: min(440px, calc(100% - 32px));
    padding: 22px 24px 18px;
}

.studio-conflict-modal .scm-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.studio-conflict-modal .scm-body {
    margin: 0 0 18px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.studio-conflict-modal .scm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.studio-conflict-modal .scm-btn {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.studio-conflict-modal .scm-btn-ghost {
    background: transparent;
    color: #475569;
    border-color: #e5e7eb;
}
.studio-conflict-modal .scm-btn-ghost:hover {
    background: #f3f4f6;
    color: #111827;
}

.studio-conflict-modal .scm-btn-primary {
    background: var(--green);
    color: #022c1a;
}
.studio-conflict-modal .scm-btn-primary:hover {
    background: var(--green-hover);
}
