﻿.tour-card {
    display: flex;
    gap: 20px;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.tour-left img {
    width: 220px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
}

.tour-right {
    flex: 1;
}

.tour-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.tour-location {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.tour-date h4 {
    margin: 12px 0 6px;
    font-size: 16px;
    font-weight: 600;
}

.tour-item {
    margin-left: 10px;
    margin-bottom: 8px;
}

.tour-name {
    font-size: 15px;
    font-weight: 500;
}

.tour-limit,
.tour-stat {
    font-size: 13px;
    color: #666;
    margin: 2px 0;
}

.tournament_code {
    display: flex;
    align-items: flex-end; /* QUAN TRỌNG */
    font-size: 13px;
    color: #666;
    gap: 8px;
}

.tour-code {
    line-height: 1; /* tránh bị đội chiều cao */
}

.progress.multi-progress {
    height: 10px;
    border-radius: 6px;
    margin: 4px 0;
}

.image-frame {
    width: 220px; /* khung cố định */
    height: 140px; /* chiều cao cố định */
    border-radius: 8px;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .image-frame img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain; /* QUAN TRỌNG */
    }

/*Bắc thêm mới css thay view */
.event-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.event-title {
    font-weight: 700;
    font-size: 22px;
}

.section-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: left;
}

.btn-register {
    border-radius: 8px;
    /*padding: 6px 14px;*/
    font-size: 12px;
}

.table-card {
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.img-fluid {
    width: 100px;
    height: 100px;
}

.container-content {
    display: grid;
    row-gap: 5px;
}

.header-content {
    background: #2f3e46;
    color: white;
    margin: 0px !important;
    border-radius: 5px;
    font-size: 14px;
    padding: 5px 0px;
}

@@media (max-width: 990px) {

    .header-content {
        display: none; /* Ẩn header trên mobile */
    }

    .content-row {
        display: block;
        background: #fff;
        border-radius: 10px;
        padding: 12px;
        margin-bottom: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

        .content-row > div {
            display: flex;
            justify-content: space-between;
            padding: 4px 0;
        }

            .content-row > div::before {
                font-weight: 600;
                color: #555;
            }

            .content-row > div:nth-child(1)::before {
                content: "Mã giải";
            }

            .content-row > div:nth-child(2)::before {
                content: "Nội dung";
            }

            .content-row > div:nth-child(3)::before {
                content: "Giới hạn điểm (Đôi/Đơn)";
            }

            .content-row > div:nth-child(4)::before {
                content: "Đăng ký/Dự kiến/Đóng phí";
            }

    .btn-register {
        width: 100%;
        margin-top: 8px;
        margin-right: 10px;
    }
