td {
    border: 0px!important;
    padding: 4px!important;
    text-transform: uppercase;
}

.navbar-brand {
    max-height: 40px;
    height: 40px;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 2.2em !important;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.navbar-brand .ejc {
    color: #a91b0c;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-left: 8px;
    font-family: 'Montserrat', Arial, sans-serif !important;
}   


/* Estilos gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

.r-small-page {
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 1170px;
    width: 100%;
    box-sizing: border-box;
}

/* Cabeçalho */
h2 {
    color: #4a6baf;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Painéis e seções */
.panel {
    width: 100%;
    max-width: 1100px!important;
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.panel-heading {
    background-color: #4a6baf;
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px;
    border: none;
}

.panel-title {
    font-size: 18px;
    font-weight: 600;
}

.panel-body {
    padding: 20px;
}

/* Campos do formulário */
.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
}

.r-integrated-field .r-edit-field {
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4a6baf;
    margin-top: 5px;
}

/* Botão de editar */
.btn-default,
.btn-primary {
    background-color: #4a6baf;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    width: fit-content;
}

.btn-default:hover {
    background-color: #3a5a9f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-control[type=password]{
    text-align: center;
}

input[id*='aceite'] {
    transform: scale(2);
}

/* Efeitos de hover nas seções */
.panel-heading {
    transition: all 0.3s;
    cursor: pointer;
}

.panel-heading:hover {
    background-color: #3a5a9f;
}

.r-small-page[data-body-width="standard"] > * {
    max-width: -webkit-fill-available;
    width: 1170px;
}

/* Responsividade */
@media (max-width: 768px) {
    .r-small-page {
        padding: 15px;
        margin: 10px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    .panel-body {
        padding: 15px;
    }
}

@media (max-width: 991px) {
    .r-small-page {
        padding: 10px;
        margin: 5px;
        border-radius: 10px;
        max-width: 100%;
    }
    .panel {
        max-width: 100%!important;
        border-radius: 8px;
    }
    h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .panel-body {
        padding: 10px;
    }
    .navbar-brand {
        font-size: 1.5em !important;
        height: 32px;
        max-height: 32px;
    }
    .panel-heading {
        padding: 10px;
        font-size: 16px;
    }
    .form-group {
        margin-bottom: 12px;
    }
    label {
        font-size: 15px;
        margin-bottom: 5px;
    }
    .r-integrated-field .r-edit-field {
        padding: 8px 10px;
        border-radius: 6px;
        margin-top: 3px;
    }
    .btn-default,
    .btn-primary {
        padding: 8px 15px;
        font-size: 15px;
        border-radius: 20px;
    }
}

@media (max-width: 576px) {
    .r-small-page {
        padding: 5px;
        margin: 0;
        border-radius: 5px;
    }
    .panel {
        border-radius: 5px;
        box-shadow: none;
    }
    h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .panel-body {
        padding: 5px;
    }
    .navbar-brand {
        font-size: 1.1em !important;
        height: 24px;
        max-height: 24px;
    }
    .panel-heading {
        padding: 7px;
        font-size: 14px;
    }
    .form-group {
        margin-bottom: 8px;
    }
    label {
        font-size: 13px;
        margin-bottom: 3px;
    }
    .r-integrated-field .r-edit-field {
        padding: 5px 7px;
        border-radius: 4px;
        margin-top: 2px;
    }
    .btn-default,
    .btn-primary {
        padding: 6px 10px;
        font-size: 13px;
        border-radius: 15px;
    }
}

/* Cores alternativas para diferentes seções */
.panel:nth-child(odd) .panel-heading {
    background-color: #5cb85c;
}

.panel:nth-child(even) .panel-heading {
    background-color: #5bc0de;
}

.panel:nth-child(3n) .panel-heading {
    background-color: #f0ad4e;
}

/* Efeito nas bordas dos campos */
.r-integrated-field:nth-child(odd) div {
    border-left-color: #5cb85c;
}

.r-integrated-field:nth-child(even) div {
    border-left-color: #5bc0de;
}

.r-integrated-field:nth-child(3n) div {
    border-left-color: #f0ad4e;
}