.cs-ssl-container {

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}

.cs-ssl-container h3 {
    color: #0073aa;
    margin-top: 0;
    margin-bottom: 8px;
}

.cs-ssl-container p {
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 15px;
}

.cs-ssl-form {
    background: #f9f9f9;
    padding: 22px;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.cs-ssl-field {
    margin-bottom: 16px;
}

.cs-ssl-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
    font-size: 14px;
}

.cs-ssl-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cs-ssl-field input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

.cs-ssl-field small {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 13px;
}

.cs-ssl-button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s, transform 0.1s;
}
.cs-ssl-button:hover:not(:disabled) {
    background-color: #005a87;
}
.cs-ssl-button:active:not(:disabled) {
    transform: scale(0.98);
}
.cs-ssl-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Статус */
.cs-ssl-status {
    margin-bottom: 20px;
}
.status-error {
    color: #dc3545;
    background: #ffe6e6;
    padding: 12px;
    border-radius: 4px;
    border-left: 4px solid #dc3545;
}
.cs-ssl-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
}
.status-icon {
    font-size: 18px;
}
.status-valid {
    background: #d4edda;
    color: #155724;
}
.status-warning {
    background: #fff3cd;
    color: #856404;
}
.status-expired {
    background: #f8d7da;
    color: #721c24;
}

/* Таблица */
.cs-ssl-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.cs-ssl-table th,
.cs-ssl-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.cs-ssl-table th {
    width: 35%;
    color: #555;
    font-weight: 600;
    font-size: 14px;
}
.cs-ssl-table td {
    color: #333;
    font-size: 14px;
}
.cs-ssl-table code {
    background: #f5f5f5;
    padding: 4px 6px;
    border-radius: 3px;
    font-size: 13px;
    color: #d63384;
    font-family: monospace;
}
.days-left {
    font-weight: bold;
    color: #0073aa;
}

/* SAN список */
.cs-ssl-san-item {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
    display: inline-block;
    font-size: 13px;
}

#cs-ssl-loading {
    color: #0073aa;
    font-weight: 500;
    margin-top: 16px;
    text-align: center;
}

/* Адаптив */
@media (max-width: 600px) {
    .cs-ssl-table th, .cs-ssl-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
    .cs-ssl-container {
        padding: 0 12px;
    }
}