/* TejasView confirmation modal (SweetAlert2) */
.tv-confirm-popup {
    width: min(420px, calc(100vw - 2rem)) !important;
    padding: 1.75rem 1.5rem 1.5rem !important;
    border-radius: 20px !important;
    border: 1px solid rgba(117, 127, 239, 0.12) !important;
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.14),
        0 8px 16px rgba(15, 23, 42, 0.06) !important;
    font-family: inherit;
}

.tv-confirm-backdrop {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(4px);
}

.tv-confirm-html {
    margin: 0 0 1.35rem !important;
    padding: 0 !important;
    color: #64748b !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    text-align: center !important;
}

.tv-confirm-title {
    margin: 0 0 0.5rem !important;
    padding: 0 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
}

.tv-confirm-copy {
    margin: 0 !important;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
}

.tv-confirm-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.15rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.tv-confirm-icon-wrap.tone-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.tv-confirm-icon-wrap.tone-success {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.tv-confirm-icon-wrap.tone-primary {
    background: rgba(117, 127, 239, 0.12);
    color: #757fef;
}

.tv-confirm-icon-wrap.tone-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.tv-confirm-actions {
    margin: 0 !important;
    gap: 0.65rem;
    width: 100%;
}

.tv-confirm-btn {
    margin: 0 !important;
    min-width: 118px;
    height: 44px;
    padding: 0 1.25rem !important;
    border-radius: 12px !important;
    border: none !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s !important;
}

.tv-confirm-btn:hover {
    transform: translateY(-1px);
}

.tv-confirm-btn:focus {
    box-shadow: 0 0 0 3px rgba(117, 127, 239, 0.25) !important;
}

.tv-confirm-btn-cancel {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.tv-confirm-btn-cancel:hover {
    background: #e2e8f0 !important;
    color: #334155 !important;
}

.tv-confirm-btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.28) !important;
}

.tv-confirm-btn-danger:hover {
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.34) !important;
}

.tv-confirm-btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.28) !important;
}

.tv-confirm-btn-primary {
    background: linear-gradient(135deg, #757fef, #605dff) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(117, 127, 239, 0.32) !important;
}

.tv-confirm-btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(217, 119, 6, 0.28) !important;
}

.tv-confirm-input {
    width: 100% !important;
    margin: 0.85rem 0 0 !important;
    padding: 0.75rem 0.9rem !important;
    border: 1px solid rgba(117, 127, 239, 0.22) !important;
    border-radius: 12px !important;
    background: #f8faff !important;
    color: #0f172a !important;
    font-size: 0.95rem !important;
    box-shadow: none !important;
}

.tv-confirm-input:focus {
    border-color: #757fef !important;
    box-shadow: 0 0 0 3px rgba(117, 127, 239, 0.2) !important;
    outline: none !important;
}

.tv-confirm-popup--seed {
    width: min(460px, calc(100vw - 2rem)) !important;
    padding: 1.6rem 1.4rem 1.35rem !important;
}

.tv-confirm-html--seed {
    margin-bottom: 1.15rem !important;
}

.tv-seed-modal {
    text-align: center;
}

.tv-seed-field {
    margin-top: 1.25rem;
    text-align: left;
    padding: 1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid rgba(117, 127, 239, 0.14);
}

.tv-seed-label {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #757fef;
}

.tv-seed-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.tv-seed-chip {
    appearance: none;
    border: 1px solid rgba(117, 127, 239, 0.22);
    background: #fff;
    color: #475569;
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.tv-seed-chip:hover {
    border-color: #757fef;
    color: #757fef;
    background: rgba(117, 127, 239, 0.06);
}

.tv-seed-chip.is-active {
    border-color: #757fef;
    background: linear-gradient(135deg, #757fef, #605dff);
    color: #fff;
    box-shadow: 0 6px 14px rgba(117, 127, 239, 0.28);
}

.tv-seed-input {
    margin: 0 !important;
}

.tv-seed-hint {
    margin: 0.55rem 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.4;
}

.tv-confirm-popup .swal2-validation-message {
    margin-top: 0.85rem !important;
    border-radius: 12px !important;
    background: rgba(239, 68, 68, 0.08) !important;
    color: #b91c1c !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
}
