/* NO-TRUST Suite - User-Agent Parser module */

.nt-module-uaparser .nt-admin-preview-body .nt-policy-workspace {
    margin-top: 0;
}

.nt-module-uaparser textarea,
.nt-module-uaparser input[type="text"] {
    width: 100%;
    border: 1px solid rgba(57, 255, 20, .18);
    border-radius: 8px;
    background: #05070c;
    color: #dfe8f2;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.nt-module-uaparser textarea {
    min-height: 160px;
    resize: vertical;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 1.5;
}

.nt-module-uaparser textarea:focus,
.nt-module-uaparser input[type="text"]:focus {
    border-color: rgba(135, 188, 235, .7);
    box-shadow: 0 0 0 1px rgba(135, 188, 235, .28), 0 0 16px rgba(57, 255, 20, .1);
    outline: none;
}

.nt-module-uaparser .nt-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.nt-module-uaparser .nt-metric {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(57, 255, 20, .18);
    border-radius: 8px;
    background: rgba(2, 8, 14, .72);
}

.nt-module-uaparser .nt-metric span {
    display: block;
    margin-bottom: 5px;
    color: #8fa3ba;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.nt-module-uaparser .nt-metric strong {
    display: block;
    color: #d8c36a;
    font-size: 15px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.nt-module-uaparser .nt-ua-education {
    margin-top: 14px;
    border: 1px solid #008f12;
    box-shadow: 0 0 18px rgba(0, 143, 18, .18);
}

.nt-module-uaparser .nt-ua-education .nt-policy-section-head h2 {
    color: #d8c36a !important;
}

.nt-module-uaparser .nt-ua-education-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.nt-module-uaparser .nt-ua-education-grid details {
    overflow: hidden;
    border: 1px solid rgba(57, 255, 20, .18);
    border-radius: 8px;
    background: rgba(2, 8, 14, .72);
}

.nt-module-uaparser .nt-ua-education-grid summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    color: #d8c36a;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0;
    list-style: none;
}

.nt-module-uaparser .nt-ua-education-grid summary::-webkit-details-marker {
    display: none;
}

.nt-module-uaparser .nt-ua-education-grid summary::after {
    content: "\25BE";
    color: #87bceb;
    flex: 0 0 auto;
    font-size: 10px;
}

.nt-module-uaparser .nt-ua-education-grid details[open] summary::after {
    content: "\25B4";
}

.nt-module-uaparser .nt-ua-education-grid p {
    margin: 0;
    padding: 0 12px 12px;
    color: #9bb0c9;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .nt-module-uaparser .nt-ua-education-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nt-module-uaparser .nt-metric-grid,
    .nt-module-uaparser .nt-ua-education-grid {
        grid-template-columns: 1fr;
    }
}
