﻿* {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.restricted-text {
    width: 100%; /* Adjust this based on your layout */
    white-space: nowrap; /* Prevent text from wrapping to the next line */
    overflow: hidden; /* Hide any overflow text */
    text-overflow: ellipsis; /* Add ellipsis ('...') at the end of the visible text */
    display: inline-block; /* Ensures the text behaves correctly within its container */
    max-width: calc(1ch * 200); /* Restrict the width to accommodate exactly 100 characters */
}

.three-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.2em * 3); /* Adjust line height (1.2em) if necessary */
    line-height: 1.2em; /* Ensure consistent line spacing */
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Optional: Adds a translucent background */
    z-index: 1050; /* Ensure it's on top of other content */
}

.category-checkbox {
    display: none;
}

.category-label {
    border-radius: 50px;
    padding: 10px 20px;
    margin: 5px;
    color: #6c757d;
    border: 1px solid #dee2e6;
    background-color: white;
    cursor: pointer;
    user-select: none;
}

.category-checkbox:checked + .category-label {
    background-color: #da463a;
    color: white;
    border-color: #da463a;
}


.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

    .schedule-table thead th {
        /*        border-bottom: 2px solid #dee2e6;*/
        padding: 12px;
        color: #6c757d;
    }

    .schedule-table tbody tr {
        border-bottom: none;
    }

.row-content {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

    .row-content:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.tournament-name {
    color: #f39c12;
    font-weight: 600;
    text-decoration: none;
}

    .tournament-name:hover {
        text-decoration: underline;
    }

.location-flag img {
    margin-right: 5px;
    width: 20px;
}

.badge-custom {
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-olympic {
    background-color: #e0e0e0;
    color: #6c757d;
}

.badge-international {
    background-color: #1a1a49;
    color: white;
}

.badge-world {
    background-color: #4a90e2;
    color: white;
}

.pdf-link {
    color: #f39c12;
    text-decoration: none;
}

    .pdf-link:hover {
        text-decoration: underline;
    }
