.black-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #000000;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.black-button:hover {
    background-color: #151515;
}

.red-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: red;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.red-button:hover {
    background-color: #a30000;
}

.dark-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #282828;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.dark-button:hover {
    background-color: #171717;
}

.top-left {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

.top-right {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.points-table-score {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    color: #e5e5e5;
    text-align: center;
    border-collapse: collapse;
    border: 2px solid #151515;
    border-radius: 12px;
}

.left-gap-th {
    padding: 4px 30px 4px 10px;
}

.mid-gap-th {
    padding: 4px 10px;
}

.right-gap-th {
    padding: 4px 10px 4px 30px;
}

th {
    background-color: #0f0f0f;
    color: #323232;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.clickable-image {
    cursor: pointer;
    transition: transform 0.3s;
}

.enlarged-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Set width to 100% of viewport width */
    height: 100vh; /* Set height to 100% of viewport height */
    max-width: none; /* Remove maximum width constraint */
    max-height: none; /* Remove maximum height constraint */
    object-fit: contain;
    z-index: 9999;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .points-table-score {
        font-size: 9px;
        color: #e5e5e5;
        text-align: center;
        border-collapse: collapse;
        border: 1px solid rgb(37, 37, 37);
    }
    
    .left-gap-th {
        padding: 2px 15px 2px 5px;
    }
    
    .mid-gap-th {
        padding: 2px 5px;
    }
    
    .right-gap-th {
        padding: 2px 5px 2px 5px;
    }
    
    
    .top-left,
    .top-right {
        position: fixed;
        top: 10px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 1000;
    }
    
    .top-left {
        left: 10px;
    }
    
    .top-right {
        right: 10px;
    }
    
    /* Important: prevent button stretching */
    .top-left button,
    .top-right button {
        width: auto;
        min-width: unset;
        white-space: nowrap;
    }
    
    .red-button,
    .dark-button {
        padding: 4px 8px;
    }

}

@media (max-width: 480px) {
    .points-table-score {
        font-size: 9px;
        color: #e5e5e5;
        text-align: center;
        border-collapse: collapse;
        border: 1px solid rgb(37, 37, 37);
    }
    
    .left-gap-th {
        padding: 2px 15px 2px 5px;
    }
    
    .mid-gap-th {
        padding: 2px 5px;
    }
    
    .right-gap-th {
        padding: 2px 5px 2px 5px;
    }
    
    
    .top-left,
    .top-right {
        position: fixed;
        top: 10px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 1000;
    }
    
    .top-left {
        left: 10px;
    }
    
    .top-right {
        right: 10px;
    }
    
    /* Important: prevent button stretching */
    .top-left button,
    .top-right button {
        width: auto;
        min-width: unset;
        white-space: nowrap;
    }
    
    .red-button,
    .dark-button {
        padding: 4px 8px;
    }

}