/* NO-TRUST Suite - Base64 module */

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

.nt-module-base64 input[type="text"],
.nt-module-base64 textarea,
.nt-module-base64 select {
    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-base64 textarea {
    min-height: 170px;
    resize: vertical;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 1.5;
}

.nt-module-base64 input:focus,
.nt-module-base64 textarea:focus,
.nt-module-base64 select: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-base64 .nt-output-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.nt-module-base64 .nt-output-field {
    flex: 1 1 auto;
    min-width: 0;
}

.nt-module-base64 .nt-meta-row {
    margin-top: 8px;
    color: #9bb0c9;
    font-size: 12px;
}

.nt-module-base64 .nt-meta-value {
    color: #d8c36a;
    font-family: Consolas, Monaco, monospace;
}

.nt-module-base64 .nt-b64-custom-alphabet {
    margin-top: 10px;
}

.nt-module-base64 .nt-b64-custom-alphabet input {
    font-family: Consolas, Monaco, monospace;
}

.nt-module-base64 .nt-b64-custom-alphabet .nt-status {
    margin: 6px 0 0;
}

.nt-module-base64 .nt-list {
    margin: 0;
    padding-left: 18px;
    color: #9bb0c9;
    font-size: 13px;
    line-height: 1.5;
}

.nt-module-base64 .nt-list li {
    margin-bottom: 5px;
}

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

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

.nt-module-base64 .nt-base64-education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

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

.nt-module-base64 .nt-base64-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-base64 .nt-base64-education-grid summary::-webkit-details-marker {
    display: none;
}

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

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

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

.nt-module-base64 .nt-base64-education-grid ul {
    margin: 0;
    padding: 0 12px 12px 28px;
    color: #9bb0c9;
    line-height: 1.55;
}

.nt-module-base64 .nt-base64-education-grid li + li {
    margin-top: 6px;
}

.nt-module-base64 .nt-policy-stat strong {
    color: #aecde0;
    font-weight: 400;
    text-shadow: none;
}

@media (max-width: 900px) {
    .nt-module-base64 .nt-output-row {
        display: block;
    }

    .nt-module-base64 .nt-output-row .button {
        margin-top: 10px;
    }

    .nt-module-base64 .nt-base64-education-grid {
        grid-template-columns: 1fr;
    }
}
