/* ToolHane — Şifre Oluşturucu */

.pg-password-input {
    caret-color: transparent;
}

.pg-icon-btn {
    flex-shrink: 0;
    width: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    transition: color 0.15s, background 0.15s;
}

.pg-icon-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.pg-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    background: #38bdf8;
    transition: background 0.15s, transform 0.1s;
}

.pg-copy-btn:hover {
    background: #7dd3fc;
}

.pg-copy-btn.is-copied {
    background: #34d399;
    color: #064e3b;
}

.pg-strength-track {
    height: 0.375rem;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.25);
    overflow: hidden;
}

.pg-strength-bar {
    height: 100%;
    border-radius: 9999px;
    width: 0;
    transition: width 0.25s ease, background-color 0.25s ease;
    background: #64748b;
}

.pg-strength-bar.weak { background: #ef4444; }
.pg-strength-bar.fair { background: #f59e0b; }
.pg-strength-bar.good { background: #3b82f6; }
.pg-strength-bar.strong { background: #22c55e; }

.pg-range {
    -webkit-appearance: none;
    appearance: none;
    height: 0.5rem;
    border-radius: 9999px;
    background: #e2e8f0;
    outline: none;
}

.dark .pg-range {
    background: #374151;
}

.pg-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: #2563eb;
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.pg-range::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    border: none;
    border-radius: 9999px;
    background: #2563eb;
    cursor: pointer;
}

.pg-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

.dark .pg-check {
    border-color: #374151;
    background: #1f2937;
}

.pg-check:hover {
    border-color: #93c5fd;
}

.pg-check:has(input:checked) {
    border-color: #3b82f6;
    background: #eff6ff;
}

.dark .pg-check:has(input:checked) {
    border-color: #2563eb;
    background: rgba(30, 58, 138, 0.35);
}

.pg-check input {
    margin-top: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #2563eb;
    flex-shrink: 0;
}

.pg-check span {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    color: #1f2937;
    font-size: 0.9375rem;
}

.dark .pg-check span {
    color: #f3f4f6;
}

.pg-check small {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
}

.dark .pg-check small {
    color: #9ca3af;
}

.pg-batch-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    background: #f3f4f6;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.875rem;
    color: #111827;
    word-break: break-all;
}

.dark .pg-batch-item {
    background: #111827;
    color: #e5e7eb;
}

.pg-batch-item button {
    margin-left: auto;
    flex-shrink: 0;
    color: #2563eb;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

.pg-batch-item button:hover {
    background: rgba(37, 99, 235, 0.1);
}
