/* Şifre Araçları Sayfası Stilleri */

.pw-generator-box,
.pw-tester-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pw-output-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.pw-display {
    width: 100%;
    padding: 1.25rem;
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    color: #2563eb;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pw-display:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}


.pw-display-area {
    width: 100%;
    padding: 1.25rem;
    padding-right: 90px;
    /* Butonlar için boşluk */
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    font-weight: 500;
    resize: vertical;
    min-height: 180px;
    /* Daha yüksek */
    outline: none;
    line-height: 1.8;
    /* Satır aralığı artırıldı */
    white-space: pre;
    overflow-x: auto;
}

.pw-display {
    width: 100%;
    padding: 1.5rem;
    padding-right: 80px;
    /* Increased padding to prevent overlap with eye icon */
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.5rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    color: #2563eb;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.05em;
}

.input-actions-inner {
    position: absolute;
    top: 1.25rem;
    /* Üstten mesafe */
    right: 1.25rem;
    display: flex;
    gap: 8px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    /* Arka planı hafif beyazlat */
    padding: 2px;
    border-radius: 8px;
}

.bulk-count-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    margin-left: 10px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.btn-copy-pw {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

input+.btn-copy-pw {
    position: absolute;
    right: 12px;
}

.gen-method-select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    font-size: 1rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s;
}

.gen-method-select:focus {
    border-color: #2563eb;
}

.btn-copy-pw:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pw-options {
    background: #f8fafc;
    padding: 1.5rem;
    /* Padding artırıldı */
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 2rem;
    /* Gap artırıldı */
    flex-wrap: wrap;
    align-items: center;
    /* Dikey ortalama */
    margin-top: 1.5rem;
}

.pw-col-count {
    flex: 1;
    min-width: 120px;
}

.pw-col-method {
    flex: 2;
    min-width: 200px;
}

/* Hash Çıktıları İçin İyileştirme */
.hash-row {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #64748b;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
}

.hash-val {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.9rem;
    color: #1e293b;
    word-break: break-all;
    background: #f1f5f9;
    /* Hafif gri arka plan */
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    display: block;
    /* Blok yap */
}


.pw-safety-alert {
    font-size: 0.85em;
    background: #f0f7ff !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe !important;
    padding: 12px !important;
    border-radius: 8px !important;
}

.btn-pw-toggle {
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 45px !important;
    width: 45px !important;
    padding: 0 !important;
    font-size: 1.25rem !important;
}

.range-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.range-group label {
    font-weight: 700;
    color: #475569;
    display: flex;
    justify-content: space-between;
}


.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.cb-label {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content */
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cb-label:hover {
    background: #f1f5f9;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pw-options {
        flex-direction: column;
        align-items: stretch;
    }

    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pw-display {
        font-size: 1.2rem;
        padding: 1rem;
    }
}