/* ==================================================
   BEBEK İSİM ASİSTANI WIDGET STİLİ - Modern ve Mobil
================================================== */
.bebek-isim-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    line-height: 1.5;
    max-height: none;
    overflow: visible;
}

/* Form alanı */
.bebek-isim-form input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #f8bbd9;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background: #fff;
}
.bebek-isim-form input[type="text"]:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}
.bebek-isim-form input[type="text"]::placeholder {
    color: #999;
}

/* Karakter sayacı */
.bebek-char-count {
    text-align: right;
    font-size: 12px;
    color: #888;
    margin: 5px 0 10px;
}
.bebek-char-count.limit-warning {
    color: #e74c3c;
    font-weight: bold;
}

/* İpucu alanı */
.bebek-isim-hint {
    font-size: 12px;
    color: #777;
    background: #fce4ec;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Buton */
.bebek-isim-button {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bebek-isim-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}
.bebek-isim-button:active {
    transform: translateY(0);
}
.bebek-isim-button:disabled {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading animasyonu */
.bebek-isim-button .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.bebek-isim-button:disabled .btn-loading {
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Sonuç alanı */
.bebek-isim-result {
    margin-top: 15px;
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    border-radius: 12px;
    overflow: hidden;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.bebek-result-header {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    color: white;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 14px;
}
.bebek-result-content {
    max-height: 350px;
    overflow-y: auto;
    padding: 15px;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

/* Scrollbar stili */
.bebek-result-content::-webkit-scrollbar {
    width: 6px;
}
.bebek-result-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.bebek-result-content::-webkit-scrollbar-thumb {
    background: #f06292;
    border-radius: 3px;
}
.bebek-result-content::-webkit-scrollbar-thumb:hover {
    background: #e91e63;
}

/* Hata mesajı */
.bebek-isim-error {
    margin-top: 10px;
    padding: 12px 15px;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    color: #c53030;
    font-size: 13px;
    animation: shake 0.5s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* İlgili içerikler */
.bebek-related {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #f8bbd9;
}
.bebek-related-title {
    font-weight: 600;
    font-size: 14px;
    color: #e91e63;
    margin-bottom: 10px;
}
.bebek-related ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.bebek-related ul li {
    margin-bottom: 8px;
    line-height: 1.4;
}
.bebek-related ul li a {
    font-size: 13px;
    color: #ad1457;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    padding: 4px 0;
}
.bebek-related ul li a:before {
    content: "→ ";
    color: #f06292;
    margin-right: 5px;
}
.bebek-related ul li a:hover {
    color: #e91e63;
    text-decoration: underline;
}

/* Dark mode desteği */
@media (prefers-color-scheme: dark) {
    .bebek-isim-form input[type="text"] {
        background: #2d3436;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    .bebek-isim-form input[type="text"]::placeholder {
        color: #718096;
    }
    .bebek-isim-hint {
        background: #3d2833;
        color: #e2e8f0;
    }
    .bebek-isim-result {
        background: linear-gradient(135deg, #3d2833 0%, #2d3436 100%);
    }
    .bebek-result-content {
        background: #2d3436;
        color: #e2e8f0;
    }
    .bebek-related {
        border-top-color: #4a5568;
    }
    .bebek-related ul li a {
        color: #f8bbd9;
    }
    .bebek-related ul li a:hover {
        color: #f06292;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .bebek-isim-form input[type="text"] {
        font-size: 16px;
        padding: 14px 15px;
    }
    .bebek-isim-button {
        padding: 16px 20px;
    }
    .bebek-isim-hint {
        font-size: 11px;
    }
}
