:root {
    --bg-color: #f0fdfa;
    --sat: env(safe-area-inset-top, 20px);
    --sab: env(safe-area-inset-bottom, 20px);
}

/* Temel Ayarlar */
body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-color);
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    overflow: hidden;
    overscroll-behavior: none;
    position: fixed;
    inset: 0;
    transition: background-color 0.5s ease;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

input, textarea {
    -webkit-user-select: text;
    user-select: text;
    font-size: 16px !important; 
}

#app-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding-top: var(--sat);
    padding-bottom: 0;
}

.pb-safe { padding-bottom: var(--sab); }
.pt-safe { padding-top: var(--sat); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }

/* Animasyonlar */
.typing-dot { animation: typing 1.4s infinite ease-in-out both; }
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

.slide-down { animation: slideDown 0.5s ease-out forwards; }
@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.message-content ul { list-style-type: disc; margin-left: 1.5rem; }
.message-content p { margin-bottom: 0.5rem; }
.message-content p:last-child { margin-bottom: 0; }

.theme-calm-header { background: linear-gradient(to right, #14b8a6, #0d9488); }
.theme-anxious-header { background: linear-gradient(to right, #3b82f6, #2563eb); }
.theme-sad-header { background: linear-gradient(to right, #f59e0b, #d97706); }
.theme-tired-header { background: linear-gradient(to right, #8b5cf6, #7c3aed); }

.logo-circle {
    border-radius: 50%;
    object-fit: cover;
    width: 100%;
    height: 100%;
}