.pgp-wrapper {
    max-width: 480px;
    margin: 20px auto;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pgp-title {
    margin: 0 0 16px;
    text-align: center;
    color: #1f4e79;
}

.pgp-output-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

#pgp-output {
    flex: 1;
    padding: 10px;
    font-size: 15px;
    font-family: Consolas, monospace;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
}

#pgp-copy-btn, #pgp-generate-btn {
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    background: #1f4e79;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

#pgp-copy-btn:hover, #pgp-generate-btn:hover {
    background: #16385a;
}

.pgp-strength-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

#pgp-strength-fill {
    height: 100%;
    width: 0%;
    background: #d9534f;
    transition: width 0.2s ease, background 0.2s ease;
}

.pgp-strength-label {
    font-size: 13px;
    color: #555;
    margin: 0 0 16px;
}

.pgp-field {
    margin-bottom: 14px;
}

.pgp-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.pgp-field input[type="range"] {
    width: 100%;
}

.pgp-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 8px;
}

.pgp-error {
    color: #d9534f;
    font-size: 13px;
}
