body {
    font-family: 'Arial', sans-serif;
    max-width: 650px;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #004a99;
    /* Azul AIESEC */
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.input-group {
    position: relative;
    margin-bottom: 22px;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 14px 12px;
    font-size: 16px;
    border: 1px solid #ccd6eb;
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #fff;
}

.input-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    background-color: #f0f4f8;
    padding: 0 4px;
    transition: 0.2s all;
    pointer-events: none;
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label {
    top: -8px;
    font-size: 13px;
    color: #0072ce;
}

.campo-multiplo {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.campo-multiplo select {
    flex: 0 0 28%;
    min-width: 120px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccd6eb;
    background-color: #fff;
    font-size: 15px;
}

.campo-multiplo input {
    flex: 1;
    padding: 14px 12px;
    font-size: 16px;
    border: 1px solid #ccd6eb;
    border-radius: 8px;
    background-color: #fff;
}

.add-btn,
.remove-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.add-btn {
    background-color: #0072ce;
    color: #fff;
    margin-bottom: 10px;
}

.add-btn:hover {
    background-color: #005a9e;
}

.remove-btn {
    background-color: #dc3545;
    color: #fff;
}

.remove-btn:hover {
    background-color: #a71d2a;
}

.remove-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.error-msg {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
}

.input-calendario {
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
}

.input-calendario input {
    width: 100%;
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccd6eb;
}

.input-calendario span {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #0072ce;
    pointer-events: none;
}

.input-extra {
    margin-bottom: 22px;
}

.input-extra select {
    width: 100%;
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccd6eb;
    background-color: #fff;
}

.checkbox-group {
    margin-top: 18px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #004a99;
    font-weight: 500;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-msg {
    font-size: 13px;
    color: #555;
    margin: 6px 0 0 26px;
    line-height: 1.4;
}

#DadosAqui {
    overflow-wrap: break-word;
    /* força quebra */
    word-wrap: break-word;
    /* compatibilidade */
    white-space: pre-wrap;
    /* permite quebra */
}

.modal {
    top: 30%;
}

.modal-backdrop {
    background-color: #ffffff;
}

.modal-title {
    font-family: 'Arial', sans-serif;
    text-align: center;
    color: #004a99;
    font-weight: 600;
    text-align: center;

}

.modal-body {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
    text-align: left;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #f8f9fa;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    background-color: #0072ce;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background-color: #005a9e;
}

/* ============================================================================
   SPINNER DE CARREGAMENTO GLOBAL
   ----------------------------------------------------------------------------
   Este spinner pode ser utilizado tanto em modais ("Enviando dados...") quanto
   dentro de botões (por exemplo, "Confirmar" → "Enviando...").
   ============================================================================ */

/* Contêiner centralizado para o modal de carregamento */
.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

/* Spinner circular principal */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border: 4px solid rgba(0, 0, 0, 0.1);
    /* borda mais clara */
    border-top: 4px solid #007bff;
    /* cor principal (azul padrão bootstrap) */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Texto exibido abaixo do spinner */
.spinner-text {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* Animação de rotação contínua */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ============================================================================
   SPINNER EMBUTIDO EM BOTÕES
   ----------------------------------------------------------------------------
   Útil caso queira mostrar carregamento direto no botão "Confirmar".
   Basta adicionar a classe .loading ao botão.
   ============================================================================ */

button.loading {
    position: relative;
    pointer-events: none;
    /* Evita múltiplos cliques */
    opacity: 0.8;
}

button.loading::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 1rem;
    height: 1rem;
    margin-top: -0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.copyright {
    margin: 20px;
    position: relative;
    left: 33%;
    margin-top: 50px;
    color: #004a99;
    font-weight: 500;
}

@media (max-width: 768px) {
    .copyright {
        margin: 20px;
        position: relative;
        left: 15%;
        margin-top: 50px;
        color: #004a99;
        font-weight: 500;
    }
}