html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgykd9p9gy78sd78asdc875qw4eyrtbvnaisd나사이드
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.loya-outbound-tabbar {
    display: flex;
    gap: 12px;
    margin: 20px 0 24px;
    padding: 8px;
    background: #f4f7fb;
    border: 1px solid #dbe5f1;
    border-radius: 18px;
}

.loya-outbound-tab {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    appearance: none;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #4b5b73;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 18px;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.loya-outbound-tab span {
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.loya-outbound-tab small {
    color: #7b8aa0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.loya-outbound-tab.active {
    background: linear-gradient(135deg, #1f57d6 0%, #3f7cff 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(31, 87, 214, 0.22);
}

.loya-outbound-tab.active small {
    color: rgba(255, 255, 255, 0.82);
}

.loya-outbound-tab:hover {
    background: rgba(31, 87, 214, 0.08);
    color: #1f57d6;
}

.loya-outbound-tab.active:hover {
    background: linear-gradient(135deg, #1f57d6 0%, #3f7cff 100%);
    color: #fff;
}

.loya-outbound-tab:focus-visible {
    outline: 2px solid #3f7cff;
    outline-offset: 2px;
}

.loya-outbound-tabpanel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.loya-outbound-supervision-tabbar {
    margin: 20px 0 18px;
    padding: 10px;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    border: 1px solid #d7e3f2;
    box-shadow: 0 18px 36px rgba(15, 36, 84, 0.06);
}

.loya-outbound-supervision-tab {
    position: relative;
    min-height: 72px;
    justify-content: center;
    padding-right: 56px;
}

.loya-outbound-supervision-tab-count {
    position: absolute;
    top: 12px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(31, 87, 214, 0.1);
    color: #1f57d6;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

.loya-outbound-supervision-tab.active .loya-outbound-supervision-tab-count {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.loya-outbound-supervision-poll-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #eef6ff;
    color: #1f57d6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.loya-outbound-supervision-poll-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

.loya-outbound-supervision-poll-meta {
    color: #607089;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.loya-outbound-live-session-shell {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid #dbe6f3;
    box-shadow: 0 22px 48px rgba(15, 36, 84, 0.08);
}

.loya-outbound-live-session-nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding: 0 2px 18px;
    border-bottom: 1px solid #dfe7f2;
}

.loya-outbound-live-session-strip {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.loya-outbound-live-session-tabs {
    display: flex;
    align-items: flex-end;
    gap: 0;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 10px 0;
    scrollbar-width: thin;
}

.loya-outbound-live-session-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    flex: 0 0 280px;
    min-width: 0;
    margin-right: -1px;
    padding: 11px 18px 10px;
    border: 1px solid #cfd9e7;
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, #f8fbff 0%, #edf3fb 100%);
    color: #475569;
    cursor: pointer;
    position: relative;
    transform: translateY(6px);
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.loya-outbound-live-session-tab span,
.loya-outbound-live-session-tab small {
    color: inherit;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.loya-outbound-live-session-tab span {
    font-size: 14px;
    font-weight: 700;
}

.loya-outbound-live-session-tab small {
    font-size: 12px;
    opacity: 0.78;
}

.loya-outbound-live-session-tab:hover {
    border-color: #b9cdf0;
    background: linear-gradient(180deg, #fbfdff 0%, #eef5ff 100%);
    color: #194dbf;
    transform: translateY(3px);
}

.loya-outbound-live-session-tab.active {
    z-index: 2;
    border-color: #d9e3ef;
    background: #fff;
    color: #0f172a;
    transform: translateY(0);
    box-shadow: 0 -10px 22px rgba(15, 36, 84, 0.07);
}

.loya-outbound-live-session-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #d3deec;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.loya-outbound-live-session-close:hover {
    border-color: #bdd0ea;
    background: #f8fbff;
    color: #1f57d6;
    box-shadow: 0 8px 16px rgba(31, 87, 214, 0.12);
}

@media (max-width: 900px) {
    .loya-outbound-live-session-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .loya-outbound-live-session-strip {
        width: 100%;
    }

    .loya-outbound-live-session-tabs {
        width: 100%;
        padding-right: 0;
    }

    .loya-outbound-live-session-tab {
        flex-basis: 220px;
    }

    .loya-outbound-live-session-close {
        align-self: flex-end;
    }
}

.loya-outbound-test-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loya-outbound-test-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
}

.loya-outbound-test-grid-bottom {
    grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.9fr);
    align-items: start;
}

.loya-outbound-test-card {
    min-width: 0;
    border: 1px solid #dbe5f1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 36, 84, 0.08);
}

.loya-outbound-test-form-grid {
    gap: 16px;
}

.loya-outbound-test-form-grid textarea {
    min-height: 112px;
    resize: vertical;
}

.loya-outbound-test-kv {
    margin-top: 16px;
}

.loya-outbound-test-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.loya-outbound-test-actions {
    flex-wrap: wrap;
    gap: 12px;
}

.loya-outbound-test-preview,
.loya-outbound-test-summary-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f6f8fc;
    border: 1px solid #e0e8f5;
}

.loya-outbound-test-preview p,
.loya-outbound-test-summary-block p,
.loya-outbound-test-hint,
.loya-outbound-test-empty {
    margin: 0;
    color: #5d6b80;
    line-height: 1.75;
}

.loya-outbound-test-audio {
    width: 100%;
}

.loya-outbound-test-conversation-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
}

.loya-outbound-test-dialogue-box {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    justify-content: flex-start;
    overflow: hidden;
}

.loya-outbound-test-dialogue-list {
    display: grid;
    gap: 14px;
    align-content: start;
}

.loya-outbound-test-dialogue-box .loya-outbound-live-bubble {
    width: min(100%, 720px);
}

.loya-outbound-test-dialogue-box .loya-outbound-live-bubble.customer {
    justify-self: start;
}

.loya-outbound-test-dialogue-box .loya-outbound-live-bubble.assistant {
    justify-self: end;
    margin-left: 0;
}

.loya-outbound-test-dialogue-empty {
    display: grid;
    flex: 1 1 auto;
    place-items: center;
    text-align: center;
}

.loya-outbound-test-summary-card {
    align-self: start;
    position: sticky;
    top: 18px;
}

.loya-outbound-test-script-strip,
.loya-outbound-test-preset-panel {
    margin: 18px 0 0;
    padding: 16px 18px;
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
}

.loya-outbound-test-script-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.loya-outbound-test-script-head span {
    display: inline-block;
    color: #6f7d92;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.loya-outbound-test-script-head h3 {
    margin: 4px 0 0;
    font-size: 18px;
    color: #17305c;
}

.loya-outbound-test-script-head small {
    color: #6a7b92;
    line-height: 1.6;
}

.loya-outbound-test-script-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.loya-outbound-test-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #d7e3f2;
    border-radius: 999px;
    background: #fff;
    color: #355070;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    transition: all 0.2s ease;
}

.loya-outbound-test-chip:hover:not(:disabled) {
    border-color: #bcd2f3;
    background: #f8fbff;
    color: #1f57d6;
}

.loya-outbound-test-chip.active {
    border-color: transparent;
    background: linear-gradient(135deg, #1f57d6 0%, #3f7cff 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(31, 87, 214, 0.18);
}

.loya-outbound-test-chip.highlight {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.loya-outbound-test-chip.warning {
    border-color: #f7d7a5;
    background: #fff7ed;
    color: #b45309;
}

.loya-outbound-test-chip.danger {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #be123c;
}

.loya-outbound-test-chip:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loya-outbound-test-step-brief {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
    align-items: stretch;
}

.loya-outbound-test-step-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #dbe5f1;
    background: #fff;
}

.loya-outbound-test-step-card.expectation {
    background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
}

.loya-outbound-test-step-card span {
    color: #6f7d92;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.loya-outbound-test-step-card strong {
    color: #17305c;
    font-size: 15px;
    line-height: 1.6;
    word-break: break-word;
}

.loya-outbound-test-step-card p {
    margin: 0;
    color: #5d6b80;
    line-height: 1.7;
}

.loya-outbound-test-qc-report {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.loya-outbound-test-qc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.loya-outbound-test-qc-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 16px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #dbe5f1;
}

.loya-outbound-test-qc-item.highlight {
    background: linear-gradient(135deg, #1f57d6 0%, #3f7cff 100%);
    border-color: transparent;
}

.loya-outbound-test-qc-item span {
    color: #6f7d92;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.loya-outbound-test-qc-item strong {
    color: #17305c;
    font-size: 16px;
    line-height: 1.6;
    word-break: break-word;
}

.loya-outbound-test-qc-item small {
    color: #6a7b92;
    line-height: 1.6;
}

.loya-outbound-test-qc-item.highlight span,
.loya-outbound-test-qc-item.highlight strong,
.loya-outbound-test-qc-item.highlight small {
    color: #fff;
}

.loya-outbound-test-qc-score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.loya-outbound-test-qc-score-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid #dce6f2;
    background: #fff;
}

.loya-outbound-test-qc-score-card span {
    color: #6f7d92;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.loya-outbound-test-qc-score-card strong {
    font-size: 24px;
    line-height: 1.2;
    color: #17305c;
    word-break: break-word;
}

.loya-outbound-test-qc-score-card small {
    color: #627389;
    line-height: 1.7;
}

.loya-outbound-test-qc-score-card.positive {
    background: linear-gradient(180deg, #f4fbf7 0%, #eefbf4 100%);
    border-color: #c7ecd3;
}

.loya-outbound-test-qc-score-card.neutral {
    background: linear-gradient(180deg, #f6f9ff 0%, #eff4ff 100%);
    border-color: #d8e5ff;
}

.loya-outbound-test-qc-score-card.warning {
    background: linear-gradient(180deg, #fff8ef 0%, #fff4e7 100%);
    border-color: #f4d5a6;
}

@media (max-width: 1360px) {
    .loya-outbound-test-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .loya-outbound-test-grid-bottom {
        grid-template-columns: 1fr;
    }

    .loya-outbound-test-summary-card {
        position: static;
    }
}

@media (max-width: 1180px) {
    .loya-outbound-test-grid,
    .loya-outbound-test-grid-bottom {
        grid-template-columns: 1fr;
    }

    .loya-outbound-test-script-head {
        flex-direction: column;
    }

    .loya-outbound-test-step-brief,
    .loya-outbound-test-qc-grid,
    .loya-outbound-test-qc-score-grid {
        grid-template-columns: 1fr;
    }

    .loya-outbound-test-dialogue-box .loya-outbound-live-bubble,
    .loya-outbound-test-dialogue-box .loya-outbound-live-bubble.assistant {
        width: 100%;
        justify-self: stretch;
    }
}