/* =========================================
   SSL CHECKER
========================================= */

.ssl-page .hosting-tool-icon {
    border-color: rgba(94,206,164,.27);
    background: rgba(69,211,151,.075);
    color: #67d6ad;
}

.ssl-page .hosting-submit {
    border-color: rgba(69,211,151,.45);
    background:
        linear-gradient(
            180deg,
            rgba(69,211,151,.22),
            rgba(69,211,151,.12)
        );
}

.ssl-page .hosting-submit:hover {
    background:
        linear-gradient(
            180deg,
            rgba(69,211,151,.29),
            rgba(69,211,151,.18)
        );
}

.hosting-status.is-warning {
    border-color: rgba(255,190,85,.35);
    background: rgba(255,190,85,.09);
    color: #ffd27d;
}

.hosting-status.is-danger {
    border-color: rgba(255,105,105,.34);
    background: rgba(255,105,105,.09);
    color: #ffaaaa;
}

.ssl-primary {
    position: relative;
    overflow: hidden;
}

.ssl-primary::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -68px;
    width: 185px;
    height: 185px;
    border-radius: 50%;
    background: rgba(88,166,255,.06);
    pointer-events: none;
}

.ssl-primary.is-success {
    border-color: rgba(69,211,151,.27);
    background:
        linear-gradient(
            135deg,
            rgba(69,211,151,.105),
            rgba(255,255,255,.045)
        );
}

.ssl-primary.is-warning {
    border-color: rgba(255,190,85,.30);
    background:
        linear-gradient(
            135deg,
            rgba(255,190,85,.10),
            rgba(255,255,255,.045)
        );
}

.ssl-primary.is-danger {
    border-color: rgba(255,105,105,.30);
    background:
        linear-gradient(
            135deg,
            rgba(255,105,105,.10),
            rgba(255,255,255,.045)
        );
}

.ssl-primary .hosting-primary-content,
.ssl-primary .hosting-primary-icon {
    position: relative;
    z-index: 1;
}

.ssl-primary.is-success .ssl-primary-icon {
    border-color: rgba(69,211,151,.34);
    background: rgba(69,211,151,.10);
    color: #73deb7;
}

.ssl-primary.is-warning .ssl-primary-icon {
    border-color: rgba(255,190,85,.34);
    background: rgba(255,190,85,.10);
    color: #ffd27d;
}

.ssl-primary.is-danger .ssl-primary-icon {
    border-color: rgba(255,105,105,.34);
    background: rgba(255,105,105,.10);
    color: #ffaaaa;
}

.ssl-primary.is-success .hosting-badge {
    border-color: rgba(69,211,151,.25);
    background: rgba(69,211,151,.07);
    color: #88e3c1;
}

.ssl-primary.is-warning .hosting-badge {
    border-color: rgba(255,190,85,.27);
    background: rgba(255,190,85,.07);
    color: #ffd27d;
}

.ssl-primary.is-danger .hosting-badge {
    border-color: rgba(255,105,105,.26);
    background: rgba(255,105,105,.07);
    color: #ffaaaa;
}

.ssl-name-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.ssl-name-chip {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(5,15,27,.30);
}

.ssl-name-type {
    padding: 4px 6px;
    border: 1px solid rgba(88,166,255,.22);
    border-radius: 7px;
    background: rgba(88,166,255,.07);
    color: #75b8ff;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.ssl-name-value {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #dce5ef;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    font-size: 12px;
    line-height: 1.4;
}

.ssl-empty {
    grid-column: 1 / -1;
    padding: 16px;
    border: 1px dashed rgba(255,255,255,.11);
    border-radius: 13px;
    color: #8295ad;
    font-size: 13px;
    text-align: center;
}

.ssl-detail--wide {
    grid-column: 1 / -1;
}

.ssl-result-note.is-success {
    border-color: rgba(69,211,151,.18);
    background: rgba(69,211,151,.055);
}

.ssl-result-note.is-warning {
    border-color: rgba(255,190,85,.18);
    background: rgba(255,190,85,.055);
    color: #d8be88;
}

.ssl-result-note.is-danger {
    border-color: rgba(255,105,105,.18);
    background: rgba(255,105,105,.055);
    color: #d8a0a0;
}

@media (max-width: 620px) {
    .ssl-name-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 440px) {
    .ssl-name-chip {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .ssl-name-type {
        width: max-content;
    }
}
