.subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.password-strength {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.password-strength.good {
    color: #27ae60;
    background: #d4edda;
    border: 1px solid #27ae60;
}

.password-strength.medium {
    color: #f39c12;
    background: #fef9e7;
    border: 1px solid #f39c12;
}

.password-strength.weak {
    color: #e74c3c;
    background: #f8d7da;
    border: 1px solid #e74c3c;
}

.password-strength small {
    display: block;
    margin-top: 5px;
    font-weight: normal;
    line-height: 1.4;
}

.hint {
    color: #666;
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
}
/* ============================================
   ПОЛЕ ПАРОЛЯ С ГЛАЗИКОМ
   ============================================ */
.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 45px; /* место для кнопки глаза */
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #95a5a6;
    font-size: 1.1em;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    border-radius: 5px;
}

.password-toggle-btn:hover {
    color: #3498db;
}

.password-toggle-btn:active {
    color: #2980b9;
}

.password-toggle-btn.visible {
    color: #3498db;
}

/* Индикатор силы пароля (для регистрации) */
.password-strength {
    margin-top: 8px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.3s;
}

.password-strength.good {
    color: #27ae60;
    background: #d4edda;
}

.password-strength.medium {
    color: #f39c12;
    background: #fef9e7;
}

.password-strength.weak {
    color: #e74c3c;
    background: #f8d7da;
}

.password-strength small {
    display: block;
    margin-top: 5px;
    font-weight: normal;
    line-height: 1.4;
}

/* Hint для мастер-пароля */
.hint {
    display: block;
    color: #7f8c8d;
    font-size: 0.85em;
    margin-top: 5px;
}

.example-phrase {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-style: italic;
    color: #666;
    font-size: 0.85em;
    line-height: 1.5;
}