body {
    margin: 0;
    padding: 0;
    background-color: #f4f1e1; 
    font-family: 'Georgia', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#app {
    width: 92%;
    max-width: 600px;
    min-height: 85vh;
    background: #fffcf5;
    padding: 2rem;
    border: 1px solid #d3c4a8;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    border-radius: 8px;
}

h1 {
    font-size: 1.2rem;
    color: #8b7355;
    margin-bottom: 0; /* Altındaki kontrole yapışması için azalttık */
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5d9c0;
}

/* Üstteki kontrol paneli tasarımı */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 20px; /* Metinle arasında mesafe bırakır */
    border-bottom: 1px dashed #d3c4a8; /* Zarif bir ayırıcı çizgi */
}

#content {
    flex-grow: 1;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    padding: 0 10px;
    max-height: 60vh; /* Metnin çok uzunsa kendi içinde kaymasını sağlar */
    overflow-y: auto;
}

/* Kaydırma çubuğu ayarları */
#content::-webkit-scrollbar {
    width: 5px;
}
#content::-webkit-scrollbar-thumb {
    background: #d3c4a8;
    border-radius: 10px;
}

button {
    background: #8b7355;
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

button:hover {
    background: #6b5a40;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.page-indicator {
    font-size: 0.85rem;
    color: #8b7355;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
}

@media (max-width: 600px) {
    #app {
        padding: 1rem;
        height: auto;
        min-height: 90vh;
    }
    h1 {
        font-size: 1.1rem;
    }
    button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}