
    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Poppins', sans-serif;
      margin: 0;
      background: #f4f4f4;
      padding: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: background 0.3s, color 0.3s;
    }

    body.dark-mode {
      background: #1e1e1e;
      color: #e21f1f;
    }

    h1 {
      margin-bottom: 2rem;
    }

    .top-bar {
      width: 100%;
      max-width: 1000px;
      display: flex;
      justify-content: flex-end;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .top-bar button {
      padding: 0.5rem 1rem;
      border: none;
      border-radius: 8px;
      background: #4CAF50;
      color: white;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    .top-bar button:hover {
      background: #388E3C;
    }

    .container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      width: 100%;
      max-width: 1000px;
    }

    .card {
      background: white;
      padding: 2rem;
      border-radius: 16px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      flex: 1 1 200px;
      transition: background 0.3s, color 0.3s;
      width: 600px;
    }

  

    body.dark-mode .card {
      background: #2e2e2e;
      color: #e0e0e0;
    }

    .card-results{
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    

    label {
      display: block;
      margin-top: 1rem;
      font-weight: 500;
    }

    input {
      width: 100%;
      padding: 0.75rem;
      border: 1px solid #ccc;
      border-radius: 8px;
      margin-top: 0.5rem;
    }

    button {
      width: 100%;
      padding: 0.75rem;
      background: #4CAF50;
      color: white;
      font-weight: bold;
      border: none;
      border-radius: 8px;
      margin-top: 1.5rem;
      cursor: pointer;
      transition: background 0.3s;
    }

    button:hover {
      background: #388E3C;
    }

    .tabs {
      display: flex;
      justify-content: space-between;
      margin-top: 1rem;
    }

    .tabs button {
      flex: 1;
      margin: 0 0.25rem;
      background: #ddd;
      color: #333;
    }

    .tabs button.active {
      background: #4CAF50;
      color: white;
    }

    .consejo-activo {
      margin-top: 1rem;
    }

    footer {
      margin-top: 4rem;
      text-align: center;
      color: #777;
      font-size: 0.9rem;
      padding: 1rem;
    }

    @media screen and (max-width:600px) {
        .card{
            width: 300px;
        }
    }
 