.tls-check-container {
    gap: 16px;
}

.tls-lead {
    margin: 0;
    color: #64748b;
    font-size: 0.95em;
    line-height: 1.5;
}

.tls-examples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tls-examples-label {
    font-size: 0.85em;
    font-weight: 600;
    color: #495057;
}

.tls-example-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tls-example-btn {
    padding: 6px 12px;
    border: 1px solid #c5d8ef;
    border-radius: 999px;
    background: #fff;
    color: #1971c2;
    font-size: 0.82em;
    font-weight: 600;
    cursor: pointer;
}

.tls-example-btn:hover,
.tls-example-btn.active {
    background: #e7f5ff;
    border-color: #1971c2;
}

.input-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.input-row input {
    flex: 1;
    min-width: 0;
}

.tls-error {
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff5f5;
    border: 1px solid #ffc9c9;
    color: #c92a2a;
    font-size: 0.92em;
}

.tls-error[hidden],
.tls-loading[hidden],
.tls-result-panel[hidden],
#tlsIssuesCard[hidden] {
    display: none !important;
}

.tls-loading {
    padding: 12px 14px;
    border-radius: 8px;
    background: #e7f5ff;
    border: 1px solid #a5d8ff;
    color: #1864ab;
    font-size: 0.92em;
}

.tls-result-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tls-assessment {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    font-weight: 600;
    line-height: 1.45;
}

.tls-assessment.level-good {
    background: #ebfbee;
    border-color: #b2f2bb;
    color: #2b8a3e;
}

.tls-assessment.level-warn {
    background: #fff9db;
    border-color: #ffe066;
    color: #e67700;
}

.tls-assessment.level-bad {
    background: #fff5f5;
    border-color: #ffa8a8;
    color: #c92a2a;
}

.tls-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tls-card h3 {
    margin: 0 0 10px;
    font-size: 1em;
    color: #1971c2;
}

.tls-pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.85em;
    line-height: 1.5;
    color: #343a40;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.tls-version-list,
.tls-issues {
    margin: 0;
    padding-left: 1.2rem;
    line-height: 1.7;
    color: #343a40;
}

.tls-version-list .ok {
    color: #2b8a3e;
    font-weight: 600;
}

.tls-version-list .no {
    color: #868e96;
}

.tls-version-list .legacy-ok {
    color: #e67700;
    font-weight: 600;
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .input-row {
        flex-direction: column;
    }
}
