.rep-form-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    padding: 10px 10px 10px 10px;
    margin: auto;

    /* max-width: 440px; */
    /* margin: 30px auto; */
}

.rep-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 10px auto 10px auto;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.rep-home-button {

    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
}

.rep-home-icon {
    margin-right: 6px;
}

.rep-athlete-header {
    max-width: 100%;
    margin: 32px 10px;
}

.me-button-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}


.me-label {
    padding-bottom: 10px;
}

.me-form-style,
.me-form-style-select,
.me-form-style-textarea {
    padding: 10px;
    font-size: 1rem;
    /* border: 1px solid #b5c6d6;
    border-radius: 6px; */
    background: white;
    margin: 5px 0;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.2s, box-shadow 0.2s;
}

.me-form-style {
    /* max-width: 500px; */
    /* margin: auto;
    display: flex; */
    flex-direction: column;
}



.me-form-style input,
.me-form-style select,
.me-form-style textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #b5c6d6;
    border-radius: 6px;
    background: #f5faff;
    margin: 5px 10px 5px 0;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.2s, box-shadow 0.2s;
}

.me-form-style input:focus,
.me-form-style select:focus {
    border: 1.5px solid #3498db;
    outline: none;
    box-shadow: 0 0 0 2px #e3f1fd;
}


body {
    font-family: Arial, sans-serif;
    background: #fafbfc;
    margin: 0;
    padding: 0;
}

.report-form {
    margin-bottom: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 500px;
    box-shadow: 0 2px 6px #ddd;
}

.report-form label {
    margin-right: 10px;
}

.report-table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 6px #eee;
}

.report-table th,
.report-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.report-table th {
    background: #e6e8ea;
}

.report-header {
    margin-top: 30px;
    margin-bottom: 10px;
}

.total-row td {
    font-weight: bold;
    background: #f5faff;
    /* border-top: 2px solid #3498db; */
    font-size: 1.07em;
}

.total-row td:last-child {
    text-align: right;
}

.athletes-table th,
.athletes-table td {
    min-width: 30px;
    max-width: 50px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.athletes-table th:first-child,
.athletes-table td:first-child {
    min-width: 85px;
    max-width: 220px;
}

@media (max-width: 600px) {

    /*  .total-row-desktop {
        display: none;
    }

    .total-row-mobile {
        display: table-row;
    }
*/
    .container.ironman-manage-tests {
        padding: 0 2vw 30px 2vw;
    }

    .page-header-row h1 {
        font-size: 1.1rem;
    }

    .rep-form-card,
    .search-card,
    .athletes-table,
    .table-responsive {
        padding: 12px 7px 12px 7px;
    }

    .athletes-table {
        table-layout: fixed;
        width: 100%;
    }

    .athletes-table th,
    .athletes-table td {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 1rem;
        padding: 8px 4px;
    }

    .hide-mobile {
        display: none !important;
    }

    .athletes-table .total-row td {
        text-align: center;
        font-size: 1.1em;
    }

    /* First column: about 40% */
    .athletes-table th:first-child,
    .athletes-table td:first-child {
        width: 50%;
        min-width: 90px;
    }

    /* Best Result: about 30% */
    .athletes-table th:nth-last-child(2),
    .athletes-table td:nth-last-child(2) {
        width: 30%;
        min-width: 70px;
    }

    /* Points: about 30% */
    .athletes-table th:last-child,
    .athletes-table td:last-child {
        width: 20%;
        min-width: 70px;
    }

}

.view-card.selected {
    background: #e3f1fd;
    color: #2061b2;
    border-color: #2980b9;
    box-shadow: 0 2px 12px #e3f1fd;
}

.view-card:hover {
    border-color: #2061b2;
}

.thin-date-col,
.thin-date-col td {
    width: 50px;
    min-width: 30px;
    max-width: 50px;
    text-align: center;
    white-space: nowrap;
}

.reports-event-sel {
    width: 100%
}

.result-points.clickable:hover {
    color: #b31118;
    text-decoration: underline;
}

.result-details-row {
    font-size: 0.95em;
}

tr.details-row td {
    border-top: 0;
    background: #f8f8fa;
    font-size: 0.97em;
    color: #223;
    text-align: left;
}

tr.details-row {
    background: #f7f9fc;
}

.result-points.clickable:hover {
    color: #b31118;
    text-decoration: underline;
}