/* Reading Assistant Styles */
.reading-assistant-container {
    /* Static positioning for "below text" layout */
    margin: 30px auto;
    /* Centered */
    width: fit-content;
    background: #1a1a1a;
    /* Elegant Dark Gray */
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reading-assistant-container:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    background: #000000;
    /* Pure Black on hover */
}

.ra-button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: serif;
    color: #ffffff;
    /* White text */
    font-weight: bold;
    padding: 0 8px;
    transition: color 0.2s ease;
    line-height: 1;
}

.ra-button:hover {
    color: #e0e0e0;
}

.ra-button:focus {
    outline: none;
    color: #ffffff;
}

#ra-decrease {
    font-size: 14px;
}

#ra-increase {
    font-size: 22px;
}

.ra-reset {
    font-family: sans-serif;
    font-size: 12px;
    background: #f0f0f0;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* Mobile responsive - No modifications needed for inline layout */
@media (max-width: 768px) {
    .reading-assistant-container {
        width: 90%;
        margin: 20px auto;
        justify-content: center;
    }
}