/* ============================================
   HUNHAX PASSWORD GENERATOR - TEK SHORTCODE CSS
   ============================================ */

.hhpg-wrapper,
.hhpg-wrapper * {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.hhpg-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 25px 0;
    display: block;
    max-width: 100%;
}

.hhpg-card {
    background: #ffffff !important;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    color: #1f2937 !important;
    max-width: 100%;
}

.hhpg-card-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

.hhpg-card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   ŞİFRE GÖSTERİM ALANI
   ============================================ */

.hhpg-password-display {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hhpg-password-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Courier New', monospace !important;
    font-size: 17px !important;
    font-weight: 700;
    background: #f8fafc !important;
    color: #1f2937 !important;
    letter-spacing: 1px;
    transition: all 0.2s;
    line-height: 1.4;
    height: 52px;
}

.hhpg-password-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: #ffffff !important;
}

.hhpg-btn-icon {
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: #3b82f6;
    color: #ffffff !important;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.hhpg-btn-icon:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.hhpg-btn-icon:active {
    transform: translateY(0);
}

.hhpg-btn-icon.hhpg-refresh-main,
.hhpg-btn-icon.hhpg-suggest-refresh {
    background: #f59e0b;
}

.hhpg-btn-icon.hhpg-refresh-main:hover,
.hhpg-btn-icon.hhpg-suggest-refresh:hover {
    background: #d97706;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.hhpg-btn-icon.hhpg-copied {
    background: #10b981 !important;
}

/* ============================================
   MİNİ GÜÇ GÖSTERGESİ
   ============================================ */

.hhpg-strength-mini {
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #f8fafc !important;
    border-radius: 10px;
}

.hhpg-strength-bar-mini {
    height: 8px;
    background: #e5e7eb !important;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.hhpg-strength-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease, background 0.6s ease;
    min-width: 6px;
}

.hhpg-strength-label-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
}

.hhpg-strength-text {
    font-weight: 700;
}

.hhpg-strength-percent {
    color: #6b7280 !important;
    font-weight: 700;
    background: #ffffff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}

/* ============================================
   AYARLAR PANELİ
   ============================================ */

.hhpg-options-panel {
    margin-bottom: 20px;
    padding: 18px;
    background: #f8fafc !important;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.hhpg-option-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.hhpg-option-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #374151 !important;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

.hhpg-option-label span {
    color: #374151 !important;
    white-space: nowrap;
}

.hhpg-option-label input[type="number"] {
    width: 70px;
    padding: 6px 10px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #1f2937 !important;
    background: #f9fafb !important;
    -moz-appearance: textfield;
}

.hhpg-option-label input[type="number"]::-webkit-outer-spin-button,
.hhpg-option-label input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hhpg-option-label input[type="number"]:focus {
    border-color: #3b82f6;
    outline: none;
    background: #ffffff !important;
}

.hhpg-option-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hhpg-chk {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #374151 !important;
    transition: all 0.2s;
    margin: 0 !important;
}

.hhpg-chk:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.hhpg-chk input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 !important;
    accent-color: #10b981;
    cursor: pointer;
    flex-shrink: 0;
}

.hhpg-chk span {
    color: #374151 !important;
    user-select: none;
}

/* ============================================
   OLUŞTUR BUTONU
   ============================================ */

.hhpg-generate-btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    cursor: pointer;
    font-size: 16px !important;
    font-weight: 700;
    transition: all 0.25s;
    letter-spacing: 0.3px;
    font-family: inherit;
    line-height: 1.4;
}

.hhpg-generate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.hhpg-generate-btn:active:not(:disabled) {
    transform: translateY(0);
}

.hhpg-generate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   ÇOKLU ŞİFRE LİSTESİ   ============================================ */

.hhpg-password-list {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e5e7eb;
}

.hhpg-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    margin-bottom: 6px;
    background: #f8fafc !important;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
    transition: all 0.2s;
}

.hhpg-list-item:hover {
    background: #f1f5f9 !important;
    transform: translateX(3px);
}

.hhpg-list-input {
    flex: 1;
    min-width: 100px;
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-family: 'Courier New', monospace !important;
    font-size: 13px !important;
    font-weight: 600;
    background: #ffffff !important;
    color: #1f2937 !important;
}

.hhpg-list-copy {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 14px;
    border-radius: 6px;
}

.hhpg-list-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* ============================================
   ŞİFRE ÖNERİ
   ============================================ */

.hhpg-card-suggestion .hhpg-generate-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.hhpg-card-suggestion .hhpg-generate-btn:hover:not(:disabled) {
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.hhpg-suggestion-result {
    margin-top: 16px;
}

/* ============================================
   ŞİFRE GÜÇ DETAYLARI
   ============================================ */

.hhpg-strength-box {
    padding: 4px;
}

.hhpg-strength-details {
    margin-top: 16px;
    padding: 16px;
    background: #f8fafc !important;
    border-radius: 10px;
}

.hhpg-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin: 4px 0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border-left: 3px solid transparent;
}

.hhpg-detail-row.pass {
    background: #f0fdf4 !important;
    border-left-color: #10b981;
    color: #065f46 !important;
}

.hhpg-detail-row.fail {
    background: #fef2f2 !important;
    border-left-color: #ef4444;
    color: #991b1b !important;
}

.hhpg-detail-row span {
    color: inherit !important;
}

.hhpg-strength-meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
}

.hhpg-strength-meta p {
    margin: 6px 0 !important;
    font-size: 13px;
    color: #4b5563 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 6px;
}

.hhpg-strength-meta strong {
    color: #1f2937 !important;
    font-weight: 700;
}

/* ============================================
   HATA MESAJI
   ============================================ */

.hhpg-error {
    padding: 16px 20px;
    background: #fef3c7 !important;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    color: #92400e !important;
    font-size: 14px;
    font-weight: 600;
    margin: 15px 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 600px) {
    .hhpg-card {
        padding: 20px 16px;
        border-radius: 12px;
    }
    
    .hhpg-password-input {
        font-size: 15px !important;
        min-width: 100%;
        padding: 12px 14px;
        height: 46px;
    }
    
    .hhpg-btn-icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    
    .hhpg-option-row {
        grid-template-columns: 1fr;
    }
    
    .hhpg-option-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .hhpg-list-item {
        flex-wrap: wrap;
    }
    
    .hhpg-list-input {
        min-width: 100%;
    }
    
    .hhpg-generate-btn {
        padding: 14px 20px;
        font-size: 15px !important;
    }
}

/* ============================================
   WORDPRESS TEMA ÇAKIŞMA ÖNLEYİCİ
   ============================================ */

.hhpg-wrapper input[type="text"],
.hhpg-wrapper input[type="number"] {
    max-width: 100%;
    box-shadow: none;
    text-shadow: none;
}

.hhpg-wrapper button {
    text-shadow: none;
    text-decoration: none;
    box-shadow: none;
    outline: none;
}

.hhpg-wrapper button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}