:root {
    --accent: #a2ceff;
}

.section {
    background: rgba(255,255,255,0.4);
    border-radius: 40px;
    padding: 30px;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: var(--shadow-lg);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section label {
    display: block;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

textarea {
    width: 100%;
    min-height: 180px;
    padding: 18px 22px;
    border: none;
    border-radius: 30px;
    background: rgba(255,255,255,0.6);
    font-size: 14px;
    font-family: "Cascadia Code", "Consolas", monospace;
    color: var(--text-primary);
    resize: vertical;
    outline: none;
    line-height: 1.6;
}

textarea:focus {
    background: rgba(255,255,255,0.8);
}

textarea::placeholder {
    color: #999;
}

.drop-zone {
    position: relative;
    margin-top: 12px;
    padding: 24px;
    border-radius: 30px;
    border: 2px dashed rgba(0,0,0,0.15);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-inset);
    transition: all 0.3s ease;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--accent);
    background: rgba(162, 206, 255, 0.1);
    transform: scale(1.01);
}

.drop-zone.success {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.drop-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

input[type="password"] {
    width: 100%;
    padding: 14px 20px;
    border-radius: 9999px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.5);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    outline: none;
    transition: background-color 0.3s ease;
    box-shadow: var(--shadow-inset);
}

input[type="password"]:focus {
    background: rgba(255,255,255,0.7);
}

.password-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

button, .tool-btn {
    padding: 12px 28px;
    border-radius: 9999px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.4);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

button:hover, .tool-btn:hover {
    transform: scale(1.05);
    background-color: rgba(0, 0, 0, 0.05);
}

button:active, .tool-btn:active {
    transform: scale(0.85);
}

button.primary {
    background: var(--accent);
    border-color: rgba(100, 172, 255, 0.5);
    font-weight: 600;
}

.status {
    text-align: center;
    font-size: 14px;
    min-height: 20px;
}

.status.success { color: #00b351; }
.status.error { color: #e74c3c; }
.status.info { color: #64acff; }

.output-section textarea {
    height: 100px;
    background: rgba(255,255,255,0.3);
    font-size: 13px;
    line-height: 1.5;
}

.verify-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.verify-row > div {
    flex: 1;
}

.verify-row label {
    margin-bottom: 8px;
}

.doc-section {
    background: rgba(255,255,255,0.35);
    border-radius: 40px;
    padding: 30px;
    border: 2px solid rgba(255,255,255,0.25);
    box-shadow: var(--shadow-lg);
}

.doc-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.doc-section h3::before {
    content: "";
    width: 6px;
    height: 24px;
    background: linear-gradient(135deg, #64acff, #a2ceff);
    border-radius: 3px;
}

.doc-section p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin: 0 0 12px 0;
}

.doc-subsection {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.3);
    border-radius: var(--radius-lg);
    border: var(--border-glass);
    box-shadow: var(--shadow-md);
}

.doc-subsection h4 {
    font-size: 16px;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 8px;
}

.doc-subsection p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}

.code-block {
    background: rgba(255,255,255,0.5);
    border-radius: 20px;
    padding: 18px 22px;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: var(--shadow-sm);
    font-family: "Cascadia Code", "Consolas", monospace;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-primary);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 12px 0;
}

.code-block .comment {
    color: #999;
}

.code-block .key {
    color: #6a0dad;
}

.code-block .str {
    color: #c7254e;
}

.code-block .tag {
    color: #4f46e5;
}

.doc-section code {
    background: rgba(0,0,0,0.06);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: "Cascadia Code", "Consolas", monospace;
    font-size: 13px;
}

.hidden {
    display: none;
}

@media (max-width: 700px) {
    .password-row {
        grid-template-columns: 1fr;
    }
    .verify-row {
        flex-direction: column;
    }
}