body {
    font-family: Arial, sans-serif;
    /* display: flex; */
    justify-content: center;
}

.top-margin {
    margin-top: 15px;
}

.left-margin {
    margin-left: 15px;
}

.bottom-margin {
    margin-bottom: 15px;
}

table {
    border-width: 1px;
    /* width: 100%; */
    border-collapse: collapse;
    text-align: center;
}

th, td {
    padding: 0.65vh 5px;
}

td.shrink {
    white-space: nowrap; /* Prevent wrapping */
    width: 1px;
}

td.puzzle {
    width: 5.55vw;
}

tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}

tbody tr:hover {
    background-color: #e0e0e0;
}

.center {
    text-align: center;
    display: flow-root; 
}

.float-right {
    float: right;
}

.done {
    background-color: #95de7a; 
}

.pending, .cancelled {
    background-color: #ffd95e; 
}

.unstarted {
    background-color: #bfbfbf;
}

.sandglass {
    font-size: 0.8rem;
}

.height-40 {
    height: 30vh;
}

.height-60 {
    height: 60vh;
}

.height-100 {
    height:100%;
}

.width-30 {
    width:25vw;
}

.width-100 {
    width:100%;
}
  
.gap {
    gap: 8px; 
}

.half {
    width: 49.6%;
}

.break-all {
    word-break: break-all;
}

.container {
    display: flex;
    justify-content: center;
}

.vertical-container {
    display: flex;
    flex-direction: column;
    gap: 8px; 
}
  
.horizontal-container {
    display: flex;
    justify-content: space-between;
    gap: 8px; 
    align-items: center;
}

#image-container-top-part {
    gap:30px;
}

.total-container {
    text-align: center;
    padding-top: 30px;
}
.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 40px;
}
.box {
    width: 150px;
    text-align: center;
    color: black;
    padding: 10px;
    margin: 0 10px;
}
.first {
    background-color: gold;
    height: 200px;
}
.second {
    background-color: #bfbfbf;
    height: 150px;
}
.third {
    background-color: #f2742c;
    height: 100px;
}
.name {
    margin-top: 40px;
}
.total {
    margin-top: 40px;
}

.rectangle {
    height: 150px;
    gap:0;
}


.bar-chart {
    display: flex;
    align-items: baseline;
    gap: 2px;
    width: fit-content;
    padding: 10px;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.bar {
    width: 20px;
    background-color: #80c4de;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    transition: height 0.3s ease;
    padding-bottom: 4px;
}

.bar-label {
    text-align: center;
    font-size: 0.5rem;
    width: 1rem;
    margin-top: 4px;
    word-break: break-word;
}

.bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bar-value {
    padding-right: 1px;
}

.rotated-writing {
    writing-mode: vertical-rl; 
    transform: rotate(180deg);
}

#chart-container {
    display: flex;
    justify-content: center;
    align-self: center;
    height: 100%;
}




#red-circle {
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    align-self: center;
    animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

.dropdown {
    /* position: absolute; */
    margin-top: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 0;
    /* width: 200px; */
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

.dropdown a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: black;
    font-size: 13px;
}

.dropdown a:hover {
    background-color: #f0f0f0;
}

.hidden {
    display: none;
}