.shloka-container {
    /* Removed card styling to match original theme design */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
    /* Inherit form theme */
}

/* Let theme handle .sanskrit-text and .translation font/colors */

/* Toolbar Alignment */
.shloka-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.shloka-reveal-btn {
    background-color: transparent;
    color: #ae792b;
    border: 1px solid #ae792b;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    margin-bottom: 0;
    /* Reset margin */
    transition: all 0.3s;
}

.shloka-reveal-btn:hover {
    background-color: #ae792b;
    color: white;
}

.shloka-details {
    margin-bottom: 20px;
}

.shloka-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.shloka-author-container {
    display: flex;
    align-items: center;
}

.shloka-author {
    color: #795548;
    font-style: italic;
    font-size: 1.1em;
    line-height: 1;
}

.vote-btn {
    background: none;
    border: none;
    /* Minimalist */
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.vote-btn:hover {
    opacity: 1;
}

.vote-btn.voted {
    color: #4caf50;
    opacity: 1;
}

.vote-btn.downvote.voted {
    color: #f44336;
}

/* Refresh Button */
.shloka-refresh-btn {
    background-color: transparent;
    color: #ae792b;
    /* Match reveal button theme */
    border: 1px solid #ae792b;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    /* Round */
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
}

.shloka-refresh-btn:hover {
    background-color: #ae792b;
    color: white;
}

/* Rotation Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.shloka-refresh-btn.rotating {
    animation: spin 0.5s linear infinite;
}