/* Load fonts similar to the image */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@900&family=Roboto:wght@700;900&display=swap');

/* Main Container */
.svw-widget-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 600px;
    height: 70px;
    background-color: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    margin: 20px auto;
    font-family: 'Roboto', sans-serif;
    border: 1px solid #eee;
    box-sizing: border-box;
}

/* Button Styling */
.svw-btn {
    flex: 1;
    border: none;
    background-color: #e6e6e6;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
    padding: 0;
    margin: 0;
}

.svw-btn:hover {
    background-color: #d9d9d9;
}

/* Arrows (CSS Shapes) */
.svw-arrow {
    width: 0; 
    height: 0; 
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    transition: transform 0.2s;
}

.svw-arrow-up {
    border-bottom: 8px solid #555;
    margin-bottom: 2px;
}

.svw-arrow-down {
    border-top: 8px solid #555;
    margin-top: 2px;
}

/* Arrow Hover Animation */
.svw-btn:hover .svw-arrow-up {
    border-bottom-color: #000;
    transform: translateY(-3px);
}
.svw-btn:hover .svw-arrow-down {
    border-top-color: #000;
    transform: translateY(3px);
}

/* Hidden Text (UPVOTE/DOWNVOTE) */
.svw-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}

/* Reveal text on hover */
.svw-btn:hover .svw-label {
    opacity: 1;
    height: auto;
    margin-top: 4px;
}

/* Center Score Box */
.svw-score-box {
    flex: 0 0 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
}

.svw-number {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    font-weight: 900;
    color: #000;
    line-height: 1;
}

.svw-text {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
    color: #000;
}