/* Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
  }
  
  body {
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
  }
  
  h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
  }
  
  /* Estilo do Formulário */
  form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
  }
  
  label {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    color: #333;
  }
  
  input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  button {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #d35400;
  }
  
  @media (max-width: 560px) {
    body {
      padding: 20px;
    }
    form {
      width: 100%;
      padding: 1.5rem;
    }
  }

    /* Reset */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
  
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #565758, #000000b6);
      color: #333;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
  
    .container {
      width: 100%;
      max-width: 550px;
      background-color: #fff;
      padding: 30px 25px;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
      animation: fadeIn 0.6s ease-in-out;
      position: relative;
    }
  
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
  
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  
    h1 {
      text-align: center;
      margin-bottom: 25px;
      font-size: 1.8rem;
      color: #444;
    }
  
    label {
      font-weight: bold;
      margin-bottom: 5px;
      display: block;
      color: #555;
    }
  
    input,
    select,
    textarea {
      width: 100%;
      padding: 12px;
      margin-bottom: 18px;
      border-radius: 8px;
      border: 1px solid #ccc;
      font-size: 1rem;
      transition: all 0.3s ease;
    }
  
    input:focus,
    select:focus,
    textarea:focus {
      border-color: #187cff;
      box-shadow: 0 0 6px rgba(24, 182, 255, 0.5);
      outline: none;
    }
  
    button {
      background: #1842ff;
      color: #fff;
      border: none;
      padding: 14px;
      font-size: 1.1rem;
      border-radius: 8px;
      cursor: pointer;
      width: 100%;
      transition: background 0.3s ease, transform 0.2s ease;
    }
  
    button:hover {
      background: #1aa3ff;
      transform: scale(1.03);
    }
  
    /* Mensagem de sucesso */
    .mensagem-sucesso {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      font-size: 1.2rem;
      text-align: center;
      padding: 20px;
      display: none;
      /* inicialmente escondida */
    }
  
    .mensagem-sucesso button {
      margin-top: 20px;
      width: auto;
      padding: 10px 20px;
      background: #1aa3ff;
    }
  
    /* Responsividade */
    @media (max-width: 600px) {
      .container {
        padding: 20px;
      }
  
      h1 {
        font-size: 1.5rem;
      }
    }