/* TLS Version Checker Styles */
.tls-checker-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tls-checker-wrapper h2 {
    color: #233D78;
    margin-top: 0;
    font-weight: 600;
    font-size: 1.8rem;
}

.tls-checker-wrapper p {
    color: #000000;
    font-size: 1rem;
    margin-bottom: 20px;
}

.tls-checker-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tls-checker-form input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #5B98BA;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
    min-width: 200px;
}

.tls-checker-form input[type="text"]:focus {
    border-color: #233D78;
    outline: none;
}

.tls-checker-form button {
    padding: 12px 24px;
    background-color: #233D78;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.tls-checker-form button:hover {
    background-color: #5B98BA;
}

.tls-result {
    margin-top: 20px;
    padding: 16px;
    border-radius: 4px;
    font-size: 1.1rem;
    display: none;
}

.tls-result.success {
    display: block;
    background-color: #f5f9ff;
    border-left: 5px solid #233D78;
    color: #1a1a1a;
}

.tls-result.error {
    display: block;
    background-color: #ffebee;
    border-left: 5px solid #FF6B6B;
    color: #b71c1c;
}

/* Spinner */
.tls-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #233D78;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Container */
.tls-results-container {
    padding: 5px 0;
}

.tls-highest {
    text-align: center;
    padding: 15px;
    background: #f0f6ff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tls-highest-label {
    font-size: 0.9rem;
    color: #233D78;
    font-weight: 600;
}

.tls-highest-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #233D78;
    margin-top: 5px;
}

.tls-table-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0 20px 0;
    background: #FFFFFF;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.tls-table-section th {
    background-color: #233D78;
    color: #FFFFFF;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
}

.tls-table-section td {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.tls-table-section tr:last-child td {
    border-bottom: none;
}

.tls-table-section tr.supported td:last-child {
    color: #2e7d32;
    font-weight: 500;
}

.tls-table-section tr.unsupported td:last-child {
    color: #c62828;
}

.tls-table-section tr.unknown td:last-child {
    color: #f57c00;
}

.tls-rating {
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.rating-stars {
    font-size: 2rem;
    letter-spacing: 3px;
    color: #FF6B6B;
}

.rating-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #233D78;
    margin-top: 5px;
}

.tls-summary,
.tls-recommendations,
.tls-details {
    margin: 20px 0;
}

.tls-summary h3,
.tls-recommendations h3,
.tls-details h3 {
    color: #233D78;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.tls-summary p {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
}

.tls-recommendations ul {
    list-style: none;
    padding-left: 0;
}

.tls-recommendations ul li {
    padding: 4px 0;
    font-size: 1rem;
}

.tls-details div {
    padding: 4px 0;
    font-size: 0.95rem;
    color: #333;
}

.tls-copy {
    text-align: center;
    margin-top: 25px;
}

#copy-results-btn {
    padding: 10px 24px;
    background-color: #5B98BA;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#copy-results-btn:hover {
    background-color: #233D78;
}

/* Responsive */
@media (max-width: 480px) {
    .tls-checker-form {
        flex-direction: column;
    }
    .tls-checker-form button {
        width: 100%;
    }
    .tls-highest-value {
        font-size: 1.8rem;
    }
}