/* style.css */
.custom-modal {
    display: block;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 450px;
    height: 350px;
    background: #fff;
    padding: 13px;
    border: 1px solid black;
    z-index: 10000000000;
	text-align: center;
}

.tally-button {
	color: #4286B8;
}

.custom-modal-close {
    position: absolute;
    top: -8px;
    right: 0;
    padding: 5px;
    cursor: pointer;
	font-weight: 700;
    font-size: 32px;
	background: rgb(184 26 92 / 17%);
}

.bars-container {
    display: flex;
    flex-direction: column;
}

.bar1 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.bar-label {
    width: 120px;
	text-align: left;
}

.bar-graph {
    flex-grow: 1;
    height: 20px;
    background-color: #f0f0f0;
}

.bar-fill {
    height: 100%;
    background-color: #D65959;
}

.bar-count {
    margin-left: 10px;
}

@media screen and (min-width: 768px) {
    .tally-popup {
        margin-bottom: 15px !important;
    }
}

/* Media query for screens smaller than 768px (smartphones and smaller tablets) */
@media screen and (max-width: 767px) {
    .custom-modal {
        width: 100%;
        max-width: 100%;
        border: none;
        border-top: 1px solid black;
        max-height: 105px;
        transition: max-height 0.3s ease-in-out;
		overflow: hidden;
		cursor: pointer;
    }
}