:root {
    --primary: #2a9d8f;
    --danger: #e76f51;
    --bg: #f4f6f8;
    --text: #333;
    --white: #ffffff;
    --gray: #ccc;
  }
  
  body {
    font-family: "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    min-height: 100vh;
  }
  
  .container {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 480px;
  margin: 40px auto;
  box-sizing: border-box;
}
  
  
  h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 25px;
  }
  
  label {
    display: block;
    margin-top: 15px;
    font-weight: 500;
    font-size: 15px;
  }
  
  input[type="datetime-local"],
  input[type="text"],
  select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid var(--gray);
    font-size: 15px;
    margin-top: 5px;
    box-sizing: border-box;
  }
  
  button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  button:hover {
    background-color: #21867a;
  }
  
  button.remove {
    background: none;
    border: 2px solid var(--danger);
    color: var(--danger);
    font-size: 18px;
    cursor: pointer;
    width: 30px; /* Largura fixa */
    height: 30px; /* Altura fixa */
    border-radius: 50%;
    padding: 0;
    text-align: center;
    line-height: 30px; /* Centraliza o X */
    display: inline-block;
    margin-left: 10px; /* Espaçamento entre o valor e o botão "X" */
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  }
  
  button.remove:hover {
    background-color: var(--danger);
    color: white;
    border-color: white;
  }
  
  
  
  div.plantao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  button#limparTudo {
    background-color: var(--danger);
    color: var(--white);
  }
  
  button#limparTudo:hover {
    background-color: #c8543e;
  }
  
  .resultado {
    margin-top: 25px;
    background-color: #eefaf7;
    border: 1px solid #cceee6;
    padding: 20px;
    border-radius: 8px;
    font-size: 15px;
    white-space: pre-line;
  }
  
  hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #ddd;
  }
  
  input[type="checkbox"] {
    transform: scale(1.1);
    margin-right: 6px;
  }
  
  @media screen and (max-width: 768px) {
    .container {
      width: calc(100% - 20px);
      margin: 10px auto !important;
      max-width: none !important;
      padding: 20px 15px;
      border-radius: 8px;
      box-shadow: none;
    }
  
    h2 {
      font-size: 20px;
    }
  
    label {
      font-size: 14px;
    }
  
    input,
    select {
      font-size: 14px;
      padding: 10px;
    }
  
    button {
      font-size: 15px;
      padding: 10px;
    }
  
    .resultado {
      font-size: 14px;
      padding: 15px;
    }
  
    button.remove {
      font-size: 13px;
      display: inline-block;
    }
  }

  input,
select,
button {
  display: block;
  width: 100%;
  max-width: 100%;
}

  
  
  