
.event-header {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.event-status {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}
.countdown-item {
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 15px 5px;
    margin: 0 5px;
    min-width: 70px;
    text-align: center;
}
.countdown-number {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1;
}
.countdown-item{
        display: flex;
        margin-right: 10px;
    }
.tournament-live{
        color: var(--primary-color);
    }

.countdown-label {
    font-size: 0.8rem;
    margin-bottom: 0;
}
.disabled{
    font-weight: 700 !important;
}
.details-card {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}
.details-card .card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}
.schedule-item {
    padding: 15px;
    border-bottom: 1px solid var(--border);
}
.schedule-item:last-child {
    border-bottom: none;
}
.schedule-time {
    font-weight: bold;
    color: var(--primary-color);
}
.schedule-activity {
    margin-bottom: 0;
}

.category-badge {
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-weight: bold;
}

.organizer-details {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.organizer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.map-container {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.chess-pattern-bg {
    background-image: linear-gradient(45deg, #0000000a 25%, transparent 25%), 
                      linear-gradient(-45deg, #0000000a 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #0000000a 75%), 
                      linear-gradient(-45deg, transparent 75%, #0000000a 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.rating-category {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.rating-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.rating-description {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.testimonial-card {
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: bold;
    margin-bottom: 0;
}

.featured-player {
    text-align: center;
    margin-bottom: 20px;
}

.player-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.player-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.player-rating {
    color: var(--primary-color);
    font-weight: bold;
}

.chess-piece-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.form-label {
    font-weight: 600;
}
/* Added styles for alerts in modals */
.alert-floating {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1060;
    max-width: 350px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.dropdown-menu {
    background-color: rgb(179 179 179) !important;
}
@media (max-width: 767px) {
    .countdown-item {
        margin-bottom: 10px;
    }
    
    .event-header {
        min-height: 200px;
    }
    
    .chess-piece-icon {
        font-size: 1.5rem;
    }
    
    .featured-player {
        margin-bottom: 30px;
    }
}