/* ==================================================
   RÜYA ASİSTANI WIDGET STİLİ - Modern ve Mobil
================================================== */
.ruya-asistani-container {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.5;
    max-height: none;
    overflow: visible;
}

/* Form alanı */
.ruya-asistani-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
.ruya-asistani-form textarea:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}
.ruya-asistani-form textarea::placeholder {
    color: #999;
}

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

/* Buton */
.ruya-sor-button {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a55eea 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;
}
.ruya-sor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.4);
}
.ruya-sor-button:active {
    transform: translateY(0);
}
.ruya-sor-button:disabled {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

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

/* Sonuç alanı */
.ruya-asistani-result {
    margin-top: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f3ff 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); }
}
.ruya-result-header {
    background: linear-gradient(135deg, #6c5ce7 0%, #a55eea 100%);
    color: white;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 14px;
}
.ruya-result-content {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

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

/* Hata mesajı */
.ruya-asistani-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 */
.ruya-asistani-result .related-posts-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #d0d0d0;
}
.ruya-asistani-result .related-posts-container h4 {
    font-weight: 600;
    font-size: 13px;
    color: #6c5ce7;
    margin-bottom: 10px;
}
.ruya-asistani-result .related-posts-container ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.ruya-asistani-result .related-posts-container ul li {
    margin-bottom: 8px;
    line-height: 1.4;
}
.ruya-asistani-result .related-posts-container ul li a {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ruya-asistani-result .related-posts-container ul li a:hover {
    color: #6c5ce7;
    text-decoration: underline;
}

/* Dark mode desteği */
@media (prefers-color-scheme: dark) {
    .ruya-asistani-form textarea {
        background: #2d3436;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    .ruya-asistani-form textarea::placeholder {
        color: #718096;
    }
    .ruya-asistani-result {
        background: linear-gradient(135deg, #2d3436 0%, #1e272e 100%);
    }
    .ruya-result-content {
        color: #e2e8f0;
    }
    .ruya-asistani-result .related-posts-container {
        border-top-color: #4a5568;
    }
    .ruya-asistani-result .related-posts-container ul li a {
        color: #e2e8f0;
    }
    .ruya-asistani-result .related-posts-container ul li a:hover {
        color: #a55eea;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .ruya-asistani-form textarea {
        font-size: 16px;
    }
    .ruya-sor-button {
        padding: 16px 20px;
    }
}
/* İlgili Rüya Yorumları listesi ok veya bullet kaldırıldı */
.ruya-related-list {
    list-style: none;  /* bullet ve ok kaldırıldı */
    padding-left: 0;
    margin: 0;
}

.ruya-related-list li {
    position: static;  /* pseudo-element veya absolute pozisyon etkilerini kaldır */
    margin-bottom: 8px;
}

.ruya-related-list li a {
    text-decoration: none;
    color: #1a237e; /* isteğe göre renk */
    display: block;
    padding: 5px 0;
}

.ruya-related-list li a:hover {
    color: #3f51b5;
    text-decoration: underline;
}
