/* Stiluri care ascund/dau reveal la pagina de interes -> consum sau vanzare*/
    
    form {
      display: none;
    }
    
    form.active {
      display: block;
    }
    
    form label {
      display: block;
      margin-top: 10px;
      font-weight: bold;
    }


/* Stiluri pentru pagina de înregistrare */
.container {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.register-section h2 {
    text-align: center;
    color: #004494;
    margin-bottom: 20px;
}

.form-section {
    margin-bottom: 20px;
}

.form-section h3 {
    color: #004494;
    margin-bottom: 10px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input, select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button[type="submit"], button[type="button"] {
    width: 48%;
    padding: 10px;
    background-color: #004494;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
}

button[type="submit"]:hover {
    background-color: #003366;
}

button[type="button"] {
    background-color: #666;
}

button[type="button"]:hover {
    background-color: #444;
}

.button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Termeni și Condiții */
.terms {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.terms input[type="checkbox"] {
    width: auto;
    margin: 0;
}


#error-message {
    color: red;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
}





/*
    body {
      font-family: Arial, sans-serif;
      background: linear-gradient(to right, #a5e274, #12ad39);
      margin: 0;
      padding: 20px;
      color: #333;
    }
    .container {
      max-width: 600px;
      margin: 50px auto;
      background: #fff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }
    h1 {
      text-align: center;
      margin-bottom: 20px;
    }
    .filter {
      text-align: center;
      margin-bottom: 20px;
    }
    .filter select {
      padding: 10px;
      font-size: 16px;
    }
    
    form {
      display: none;
    }
    
    form.active {
      display: block;
    }
    
    form label {
      display: block;
      margin-top: 10px;
      font-weight: bold;
    }
    form input[type="text"],
    form input[type="email"],
    form input[type="password"],
    form input[type="tel"] {
      width: 100%;
      padding: 10px;
      margin: 5px 0 15px 0;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
    }
    
    form button {
      display: block;
      width: 30%;
      margin: 20px auto 0 auto;
      padding: 10px;
      background: #55de77;
      color: #fff;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease;
    }
    form button:hover {
      background: #43b756;
    }
*/