   body {
      font-family: 'Poppins', sans-serif;
      margin: 0;
      background: #fff;
    }

    .container-agendamento {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      max-width: 1100px;
      margin: 0 auto;
      gap: 20px;
    }

    .imagem-agendamento img {
      width: 300px;
      height: 250px;
      object-fit: cover;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .form-pesquisa {
      flex: 1;
      max-width: 600px;
      
      border-radius: 10px;
      padding: 15px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .form-pesquisa h2 {
      font-size: 16px;
      color: #C03227;
      margin-bottom: 20px;
    }

    .form-pesquisa label {
      display: block;
      font-weight: 600;
      font-size: 13px;
      margin-bottom: 8px;
      color: #5d5c5cff;
    }

    .form-pesquisa input {
      width: calc(100% - 30px);
      padding: 10px 14px;
      border: 1px solid #ccc;
      border-radius: 3px;
      margin-bottom: 15px;
      font-size: 12px;
    }

    .form-pesquisa button {
      background: linear-gradient(to right, #C03227, #EC2C1A);
      color: white;
      border: none;
      padding: 8px 20px;
      border-radius: 3px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
      width: 100%;
    }

    .form-pesquisa button:hover {
      background: linear-gradient(to right, #EC2C1A, #C03227);
    }

    .footer {
      text-align: center;
      padding: 30px;
      font-size: 0.9rem;
      color: #555;
      margin-top: 40px;
    }

    .tabela-pedido {
      width: calc(100% - 30px);
      max-width: 950px;
      border-collapse: collapse;
      table-layout: auto;
      overflow-x: auto; 
      border-radius: 8px;
      margin: auto;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .tabela-pedido th, .tabela-pedido td {
      padding: 7px 12px;
      text-align: left;
      
      font-size: 11px;
      word-wrap: break-word; 
    }

    .tabela-pedido th {
      background-color: #EC2C1A;
      color: white;
      font-size: 11px;
    }


    .tabela-pedido th:first-child {
      border-top-left-radius: 8px;
    }

    .tabela-pedido th:last-child {
      border-top-right-radius: 8px;
    }

    .tabela-pedido td:nth-child(3) { 
      max-width: 100px; 
      width: auto; 
      white-space: nowrap; 
      overflow: hidden; 
      text-overflow: ellipsis; 
    }

    .tabela-pedido tr:nth-child(even) {
      background-color: #f2f2f2;
    }

    .tabela-pedido tr:last-child td:first-child {
      border-bottom-left-radius: 8px;
    }

    .tabela-pedido tr:last-child td:last-child {
      border-bottom-right-radius: 8px;
    }
    .table-resultados {
      margin: 0 15px;
    }
    .btn-reagendar {
      background: transparent;
      color: #EC2C1A;
      border: none;
      padding: 5px 10px 10px 10px;
      border-radius: 5px 5px 0 0;
      font-weight: 600;
      font-size: 12px;
      cursor: pointer;
      transition: background 0.3s;
      max-width: 300px;   
    }
    /* 🔹 Container principal do formulário */
#form-reagendamento {
  display: none;
  background: whitesmoke;
  padding: 5px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 20px auto;
}

/* 🔹 Título */
#form-reagendamento h2 {
  font-size: 18px;
  color: #C03227;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

/* 🔹 Layout em 3 colunas */
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center;
}

/* 🔹 Colunas internas */
.form-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 🔹 Labels */
.linha label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
}

/* 🔹 Inputs e selects */
.linha input,
.linha select {
  width: calc(100% - 30px);
  padding: 8px 12px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f9f9f9;
  transition: border-color 0.3s;
}

.linha input:focus,
.linha select:focus {
  border-color: #C03227;
  outline: none;
  background: #fff;
}

/* 🔹 Botão principal */
.btn-confirmar {
  background: linear-gradient(to right, #C03227, #EC2C1A);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
  margin-top: 12px;
}

.btn-confirmar:hover {
  background: linear-gradient(to right, #EC2C1A, #C03227);
}

/* 🔹 Responsividade */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  #form-reagendamento {
    padding: 15px;
  }

  .btn-confirmar {
    margin-top: 10px;
  }
  .container-agendamento {
      display: block;
      align-items: center;
      justify-content: center;
      padding: 20px;
      max-width: 1100px;
      margin: 0 auto;
      gap: 20px;
    }

    .imagem-agendamento img {
      width: 350px;
      height: 300px;
      object-fit: cover;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      margin: auto;
    }

    .form-pesquisa {
      flex: 1;
      max-width: 600px;
      
      border-radius: 10px;
      padding: 15px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .form-pesquisa h2 {
      font-size: 16px;
      color: #C03227;
      margin-bottom: 20px;
    }

    .form-pesquisa label {
      display: block;
      font-weight: 600;
      font-size: 13px;
      margin-bottom: 8px;
      color: #5d5c5cff;
    }

    .form-pesquisa input {
      width: calc(100% - 30px);
      padding: 10px 14px;
      border: 1px solid #ccc;
      border-radius: 3px;
      margin-bottom: 15px;
      font-size: 16px;
    }

    .form-pesquisa button {
      background: linear-gradient(to right, #C03227, #EC2C1A);
      color: white;
      border: none;
      padding: 8px 20px;
      border-radius: 3px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
      width: 100%;
      font-size: 16px;
    }

    .form-pesquisa button:hover {
      background: linear-gradient(to right, #EC2C1A, #C03227);
    }
    .tabela-pedido th:nth-child(3) { display: none;}
    .tabela-pedido td:nth-child(3) { display: none;}
    .tabela-pedido th:nth-child(4) { display: none;}
    .tabela-pedido td:nth-child(4) { display: none;}
    .tabela-pedido th:nth-child(7) { display: none;}
    .tabela-pedido td:nth-child(7) { display: none;}
    .tabela-pedido th:nth-child(6) { display: none;}
    .tabela-pedido td:nth-child(6) { display: none;}

          /* Inverte a ordem de Nova Hora e Nova Data no mobile */
  .form-row:nth-child(5) {
    order: 1; /* Nova Hora abaixo de Nova Data */
  }
    
    .btn-reagendar {
        font-size: 12px;
    }
    #form-reagendamento h2 {font-size: 13px; margin-bottom: 5px;}
    .form-grid label {
      font-size: 11px;
      margin-bottom: 3px;
      
    }
    .form-grid {
        margin: auto;
    }
    .form-grid input {
      width: calc(100% - 30px);
      padding: 10px 14px;
      border: 1px solid #ccc;
      border-radius: 3px;
      margin-bottom: 15px;
      font-size: 16px;
    }
      .form-grid select {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid #ccc;
      border-radius: 3px;
      margin-bottom: 15px;
      font-size: 16px;
      font-family: 'Poppins', sans-serif;
      color: #777;
    }
    .nome {display: none;}
}