/* PANEL-33: ortak şifre aracı (Views/Shared/_PasswordField.cshtml). Mağaza renkleri/ölçüleri style.css hesap formlarıyla aynı. */
.pwtool { display: grid; gap: 10px; grid-column: 1 / -1; min-width: 0; }
.pwtool [hidden] { display: none !important; }
.pwtool-fields { display: grid; gap: 16px; }
.pwtool-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pwtool-field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.pwtool-input { position: relative; }
.pwtool-input input { padding-right: 46px !important; }
.pwtool-eye {
    position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
    width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 3px; background: transparent; color: #647176; cursor: pointer;
}
.pwtool-eye:hover { color: #303c42; }
.pwtool-eye.is-on { color: #006b70; }
.pwtool-eye:focus-visible, .pwtool-btn:focus-visible { outline: 2px solid #006b70; outline-offset: 2px; }
.pwtool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pwtool-status { font-size: 12px; color: #00636a; min-height: 1em; }
.pwtool-hint { font-size: 12px; color: #647176; }
.pwtool-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: #8a979b; }
.pwtool-rules li { display: inline-flex; align-items: center; gap: 5px; }
.pwtool-rules li::before { content: "○"; font-size: 11px; line-height: 1; }
.pwtool-rules li.is-ok { color: #1f7a4d; }
.pwtool-rules li.is-ok::before { content: "✓"; font-weight: 700; }

/* Mağaza düğmesi: hesap formlarındaki birincil düğmenin çerçeveli (ikincil) hâli */
.pwtool--store .pwtool-btn {
    min-height: 38px; padding: 0 14px; border: 1px solid #006b70; border-radius: 3px; background: #fff; color: #006b70;
    font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .04em; cursor: pointer; transition: background .18s, color .18s;
}
.pwtool--store .pwtool-btn:hover { background: #006b70; color: #fff; }
.pwtool--store label { color: #647176; font-size: 13px; }

/* Admin: Bootstrap .form-control + .btn-admin-secondary kullanılır; yalnız göz düğmesi konumu */
.pwtool--admin .pwtool-eye { color: #6c757d; }
.pwtool--admin .pwtool-rules li.is-ok { color: #198754; }

@media (max-width: 767.98px) {
    .pwtool-fields--2 { grid-template-columns: minmax(0, 1fr); }
    .pwtool--store .pwtool-btn { flex: 1 1 auto; }
}
