body {
    font-family: Arial, sans-serif;
    direction: rtl;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}
#avatar-section {
    position: fixed;
    bottom: 20px;
    left: 20px;
    text-align: left;
    cursor: move;
    z-index: 1000;
}
#avatar {
    transition: transform 0.3s;
}
#avatar-message {
    color: #333;
    font-weight: bold;
}
#slides {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.slide {
    animation: fadeIn 1s ease-in;
}
h1, h2 {
    color: #333;
    text-align: center;
}
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
textarea {
    width: 100%;
    height: 100px;
    resize: vertical;
    font-family: monospace;
}
button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
}
button:hover {
    background-color: #218838;
}
#help-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    z-index: 1000;
    width: auto;
    height: auto;
}
#help-button:hover {
    background-color: #218838;
}
#help-box {
    position: fixed;
    top: 60px;
    right: 20px;
    background: white;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
p#quiz-result, p#level-result, p#learning-path, p#help-response {
    color: #d32f2f;
    font-weight: bold;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes handWave {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}
@keyframes scalePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* فقط برای انیمیشن‌ها، بقیه استایل‌ها تو Tailwind */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes handWave {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}
@keyframes scalePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}