/* =========================
   Password generator
========================= */

.password-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f0fdfa, #ecfdf5);
    border: 1px solid rgba(15, 118, 110, .20);
    margin-bottom: 12px;
}

.password-display span {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 900;
    color: #0f4a44;
    word-break: break-all;
}

.password-copy-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(15, 118, 110, .30);
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}

.password-copy-btn:hover {
    background: rgba(15, 118, 110, .08);
}

.password-strength {
    height: 8px;
    border-radius: 999px;
    background: #f3f4f6;
    overflow: hidden;
}

.password-strength__fill {
    height: 100%;
    width: 0%;
    background: #f87171;
    border-radius: 999px;
    transition: width 0.3s ease, background 0.3s ease;
}

.password-strength__label {
    margin-top: 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: #6b7280;
}

.password-slider {
    width: 100%;
    accent-color: #0f766e;
    height: 6px;
}

.password-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
}

.password-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0f766e;
    cursor: pointer;
}