* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f6fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: url("/static/imagens/corrida.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.img-logo {
    max-width: 898px;
    border-radius: 15px;
}

.termo-res {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 5px;
    flex-direction: column;
    
}

.container01 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}

.paragrafos {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 15px;
    flex-direction: column;

}


.container {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 15px;
    flex-direction: column;

}

h1 {
    font-size: 26px;
    margin-bottom: 15px;
}

h2 {
    font-size: 20px;
    margin: 25px 0 15px;
}

p {
    margin-bottom: 15px;
    line-height: 1.4;
    color: #555;
    font-size: 12px;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
}

input, select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 20px;

}

input:focus, select:focus {
    outline: none;
}

.buttons {
    margin-top: 20px;
    display: flex;
    justify-content: end;
    gap: 25px;
}

button {
    padding: 15px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}  




@media (min-width: 1024px) {
  p {
    font-size: 16px;  
     
  }

  input, select {
    font-size: 15px;
  }

}

/* =========================
   MODAL GLOBAL
========================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #2c1b1f;
  color: #fff;
  width: 90%;
  max-width: 420px;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  text-align: center;
  animation: fadeIn .2s ease;
}

.modal-box.success {
  border-left: 5px solid #27ae60;
}

.modal-box.error {
  border-left: 5px solid #e74c3c;
}

.modal-box h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.modal-box p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-box button {
  background: #f08ca0;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}

@keyframes fadeIn {
  from { transform: scale(.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}