@media (max-width: 768px) {
    input, select, textarea

{
    font-size: 16px !important;
}

}

.sub-nav-container {
    background-color: #E8EDEF;
    padding: 15px 0;
    border-radius: 0 0 12px 12px;
    margin-bottom: 20px;
}

.btn-sub-nav {
    background-color: white;
    color: #1F3A45;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s;
    margin-right: 5px;
    margin-bottom: 5px;
}

    .btn-sub-nav:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 6px rgba(0,0,0,0.08);
        color: #0B4F6C;
    }

.btn-back-custom {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .btn-sub-nav {
        font-size: 0.85rem !important;
        padding: 8px 15px !important;
    }
}

.custom-table-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
}

.custom-table-header {
    background-color: white;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: white;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.table-responsive-wrapper {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 0;
}

.table {
    width: 100%;
    margin-bottom: 0;
    white-space: nowrap;
}

    .table tbody td, .table thead th {
        padding: 12px;
        vertical-align: middle;
        border-bottom: 1px solid #eee;
        color: #1F3A45;
        font-weight: 600;
    }

.custom-table-card th a {
    color: aliceblue !important;
    text-decoration: none;
}

.custom-table-card th {
    background-color: #0b4f6c !important;
    color: aliceblue !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,0.03);
}

.regata-header-card {
    background-color: #0B4F6C;
    color: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.regata-header-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-label-custom {
    font-weight: 700;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.form-check-input-custom {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .table tbody td, .table thead th {
        padding: 10px 8px !important;
        font-size: 0.85rem !important;
    }

    .table {
        padding-right: 15px;
    }

    .regata-header-card {
        padding: 1.5rem;
    }

    .regata-header-title {
        font-size: 1.4rem;
    }
}

.main-content-wrapper {
    padding-top: 0 !important;
    padding-bottom: 40px;
}

.sub-nav-full-width {
    background-color: #e8edef;
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    position: relative;
    padding: 10px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: -50px;
}

.btn-sub-nav {
    background-color: white;
    color: #0b4f6c;
    border: 1px solid #0B4F6C;
    border-radius: 50px;
    padding: 6px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-sub-active {
    background-color: #0b4f6c;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-weight: 700;
    border-color: white;
}

.sub-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn-sub-nav:hover {
    background-color: white;
    color: #0B4F6C;
    transform: translateY(-2px);
}

.content-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 25px;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #0B4F6C;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.form-label-custom {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.form-control-custom {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    border: 1px solid #eee;
}

    .table-custom th {
        background-color: #0B4F6C;
        color: white;
        padding: 10px;
        text-align: left;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .table-custom td {
        padding: 8px;
        border-bottom: 1px solid #eee;
        color: #333;
        font-size: 0.9rem;
    }

    .table-custom tr:nth-child(even) {
        background-color: #f9f9f9;
    }

.btn-action {
    background-color: #0B4F6C;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-right: 5px;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.col-flex-6 {
    flex: 1;
    min-width: 250px;
}

.col-flex-4 {
    flex: 0 0 350px;
    max-width: 100%;
}

.col-flex-8 {
    flex: 1;
    min-width: 0;
}

.card-subtitle {
    font-size: 1.1rem;
    color: #0B4F6C;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

@media (max-width: 768px) {
    .row-flex {
        flex-direction: column;
    }

    .col-flex-6, .col-flex-4, .col-flex-8 {
        width: 100%;
    }

    .sub-nav-full-width {
        margin-top: 0;
    }

    .sub-nav-full-width {
        margin-top: 0;
    }
}

.main-content-wrapper { padding-top: 0 !important; padding-bottom: 40px; }
    .sub-nav-full-width {
    background-color: #e8edef; 
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    position: relative;
    padding: 10px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: -50px;
    }

.btn-sub-nav {
    background-color: white;
    color: #0b4f6c;
    border: 1px solid #0B4F6C;
    border-radius: 50px;
    padding: 6px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-sub-active {
    background-color: #0b4f6c;
    color:white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-weight: 700;
    border-color: white;
}
.sub-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 15px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn-sub-nav:hover { background-color: white; color: #0B4F6C; transform: translateY(-2px); }
.content-card { background: white; border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); padding: 25px; margin-bottom: 25px; }
.card-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #0B4F6C; font-weight: 700; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.form-label-custom { font-weight: 600; color: #555; font-size: 0.9rem; margin-bottom: 5px; display: block; }
.form-control-custom { width: 100%; padding: 8px 12px; border: 1px solid #ced4da; border-radius: 6px; font-size: 0.95rem; margin-bottom: 15px; box-sizing: border-box; }
.table-custom { width: 100%; border-collapse: collapse; margin-bottom: 1rem; border: 1px solid #eee; }
.table-custom th { background-color: #0B4F6C; color: white; padding: 10px; text-align: left; font-weight: 600; font-size: 0.9rem; }
.table-custom td { padding: 8px; border-bottom: 1px solid #eee; color: #333; font-size: 0.9rem; }
.table-custom tr:nth-child(even) { background-color: #f9f9f9; }
.btn-action { background-color: #0B4F6C; color: white; border: none; padding: 10px 25px; border-radius: 6px; font-weight: bold; cursor: pointer; text-decoration: none; display: inline-block; margin-right: 5px; }
.row-flex { display: flex; flex-wrap: wrap; gap: 20px; }
.col-flex-6 { flex: 1; min-width: 250px; }
.col-flex-4 { flex: 0 0 350px; max-width: 100%; }
.col-flex-8 { flex: 1; min-width: 0; }
.card-subtitle { font-size: 1.1rem; color: #0B4F6C; font-weight: 700; margin-bottom: 15px; display: block; }

@media (max-width: 768px) { .row-flex { flex-direction: column; } .col-flex-6, .col-flex-4, .col-flex-8 { width: 100%; } .sub-nav-full-width { margin-top: 0; } .sub-nav-full-width { margin-top: 0; } }

.erro-email {
    border: 2px solid red;
    background-color: #ffe6e6;
}
