﻿.search-box {
    border-bottom: 1px solid #e0e0e0;
}

    .search-box input {
        width: 100%;
        padding: 12px 20px 12px 45px;
        border: 1px solid #ddd;
        border-radius: 10px;
        font-size: 14px;
        outline: none;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="gray"><circle cx="7" cy="7" r="6" stroke="gray" stroke-width="2" fill="none"/><line x1="11" y1="11" x2="15" y2="15" stroke="gray" stroke-width="2"/></svg>');
        background-repeat: no-repeat;
        background-position: 15px center;
    }

        .search-box input::placeholder {
            color: #999;
        }

.c-coach-synthetic {
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.c-h-coach {
    margin-top: 5px;
    background: #CF2228;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.c-h-img {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.c-h-coach h2 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* Body content */
.c-b-coach {
    padding: 0;
}

/* Profile section */
.coach-profile {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    padding: 35px;
    align-items: center;
    border-bottom: 2px solid #e0e0e0;
}

.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f0f0f0;
}

    .profile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Profile info */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coach-acronym {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.profile-name {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.profile-info > div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
}

.nationality {
    color: #555;
    font-size: 14px;
    margin: 0;
}

/* Profile stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    min-width: 350px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.stat-label {
    color: #888;
    font-size: 14px;
    white-space: nowrap;
}

.stat-value {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.team-logo {
    width: 20px;
    height: 20px;
}

.club-name {
    margin: 0;
}

/* Career section */
.career {
    padding: 35px;
}

.section-career {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

    .section-career::before {
        content: "📋";
        font-size: 22px;
        color: #555;
    }

/* Career table */
.career-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #CF2228;
    border-radius: 8px;
    border-collapse: separate;
}

    .career-table thead {
        background-color: #fddede;
    }

    .career-table th {
        padding: 15px 20px;
        text-align: left;
        font-weight: 600;
        font-size: 13px;
        color: #000;
        border-bottom: 2px solid #e0e0e0;
    }

    .career-table td {
        padding: 18px 20px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
        color: #333;
    }

    .career-table tbody tr:hover {
        background-color: #fafafa;
    }

    .career-table thead tr:first-child th:first-child {
        border-top-left-radius: 8px;
    }

    .career-table thead tr:first-child th:last-child {
        border-top-right-radius: 8px;
    }

    .career-table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 8px;
    }

    .career-table tbody tr:last-child td:last-child {
        border-bottom-right-radius: 8px;
    }

/* Club cell */
.club-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
}

    .club-cell:hover {
        color: #000;
    }

.club-badge {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

/* Time column */
.time {
    color: #666;
}

/* Fee styles */
.fee {
    font-weight: 600;
    color: #1a1a1a;
}

    .fee.free {
        color: #666;
        font-weight: 500;
    }

/* Responsive Design */

/* Desktop lớn */
@media (max-width: 1200px) {
    .profile-stats {
        min-width: 320px;
        gap: 18px 35px;
    }
}

/* Tablet lớn */
@media (max-width: 1024px) {
    .profile-stats {
        min-width: 300px;
        gap: 15px 30px;
    }

    .stat-item {
        gap: 10px;
    }

    .career-table th,
    .career-table td {
        padding: 14px 16px;
    }
}

/* Tablet */
@media (max-width: 968px) {
    .coach-profile {
        grid-template-columns: auto 1fr;
        gap: 25px;
    }

    .profile-stats {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, 1fr);
        min-width: auto;
        margin-top: 15px;
    }

    .career {
        padding: 30px 25px;
    }

    .career-table th,
    .career-table td {
        padding: 12px 15px;
    }
}

/* Mobile lớn */
@media (max-width: 768px) {
    /* Header */
    .c-h-coach {
        margin-top: 15px;
        padding: 12px 20px;
    }

        .c-h-coach h2 {
            font-size: 13px;
        }

    .c-h-img {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }

    /* Profile Section */
    .coach-profile {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 20px;
        text-align: center;
    }

    .profile-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
        border: 3px solid #f0f0f0;
    }

    .profile-info {
        align-items: center;
    }

        .profile-info > div {
            justify-content: center;
        }

    .coach-acronym {
        font-size: 28px;
    }

    .profile-name {
        font-size: 14px;
    }

    /* Profile Stats */
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 10px;
    }

    .stat-item {
        justify-content: space-between;
        padding: 8px 12px;
        background: #f9f9f9;
        border-radius: 6px;
    }

    /* Career Section */
    .career {
        padding: 25px 20px;
        overflow-x: auto;
    }

    .section-career {
        font-size: 16px;
        margin-bottom: 20px;
    }

        .section-career::before {
            font-size: 20px;
        }

    /* Career Table */
    .career-table {
        min-width: 600px;
    }

        .career-table th,
        .career-table td {
            padding: 10px 12px;
            font-size: 13px;
        }

        .career-table th {
            font-size: 12px;
        }

    .club-cell {
        gap: 8px;
    }

    .club-badge {
        width: 20px;
        height: 20px;
    }
}

/* Mobile trung bình */
@media (max-width: 600px) {
    .career-table {
        min-width: 550px;
    }

        .career-table th,
        .career-table td {
            padding: 8px 10px;
        }
}

/* Mobile nhỏ */
@media (max-width: 480px) {
    /* Container */
    .c-coach-synthetic {
        border-radius: 8px;
    }

    /* Header */
    .c-h-coach {
        margin-top: 10px;
        padding: 10px 15px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

        .c-h-coach h2 {
            font-size: 12px;
        }

    .c-h-img {
        width: 22px;
        height: 22px;
        font-size: 14px;
    }

    /* Profile Section */
    .coach-profile {
        padding: 20px 15px;
        gap: 15px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .coach-acronym {
        font-size: 24px;
    }

    .profile-name {
        font-size: 13px;
    }

    .flag {
        width: 20px;
        height: 14px;
    }

    .nationality {
        font-size: 13px;
    }

    /* Profile Stats */
    .stat-item {
        padding: 6px 10px;
    }

    .stat-label,
    .stat-value {
        font-size: 13px;
    }

    .team-logo {
        width: 18px;
        height: 18px;
    }

    /* Career Section */
    .career {
        padding: 20px 15px;
    }

    .section-career {
        font-size: 15px;
        margin-bottom: 15px;
    }

        .section-career::before {
            font-size: 18px;
        }

    /* Career Table */
    .career-table {
        min-width: 500px;
        font-size: 12px;
    }

        .career-table th,
        .career-table td {
            padding: 8px 8px;
        }

    .club-cell {
        gap: 6px;
        font-size: 12px;
    }

    .club-badge {
        width: 18px;
        height: 18px;
    }

    .fee {
        font-size: 12px;
    }
}

/* Extra small mobile */
@media (max-width: 360px) {
    /* Profile Section */
    .coach-profile {
        padding: 15px 10px;
    }

    .profile-image {
        width: 90px;
        height: 90px;
    }

    .coach-acronym {
        font-size: 22px;
    }

    .profile-name {
        font-size: 12px;
    }

    /* Profile Stats */
    .stat-item {
        padding: 6px 8px;
    }

    .stat-label,
    .stat-value {
        font-size: 12px;
    }

    /* Career Section */
    .career {
        padding: 15px 10px;
    }

    /* Career Table */
    .career-table {
        min-width: 480px;
    }

        .career-table th,
        .career-table td {
            padding: 6px 6px;
        }

    .club-cell {
        gap: 5px;
        font-size: 11px;
    }

    .club-badge {
        width: 16px;
        height: 16px;
    }
}
