
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #333333;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #f4f4f4;
  background-image: url('../IMG/fondoformu2.png');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.container {
  background-color: #ffffff;
  max-width: 700px;
  width: 100%;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.container .title {
  font-size: 26px;
  font-weight: 600;
  color: #005e14;
  margin-bottom: 20px;
  position: relative;
}

.container .title::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #005e14;
  border-radius: 2px;
}

.user-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.input-box {
  flex: 1 1 calc(50% - 20px);
  display: flex;
  flex-direction: column;
}

.input-box span.details {
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}

.input-box input {
  height: 45px;
  padding: 0 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

.input-box input:focus {
  border-color: #005e14;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #005e14;
}

.btn-primary {
  background-color: #005e14;
  color: #fff;
}

.btn-primary:hover {
  background-color: #003f0d;
}

.btn-secondary {
  background-color: #fff;
  color: #005e14;
}

.btn-secondary:hover {
  background-color: #005e14;
  color: #fff;
}

.ticket-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  border: 2px solid #005e14;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 9999;
  width: 90%;
  max-width: 500px;
  animation: fadeIn 0.5s ease-in-out;
  font-family: 'Poppins', sans-serif;
}

.ticket-container h3 {
  color: #005e14;
  margin-bottom: 15px;
  font-weight: 600;
}

.ticket-container p {
  margin: 8px 0;
  font-size: 15px;
  color: #333;
}

.ticket-container .nota {
  margin-top: 15px;
  font-size: 14px;
  color: #444;
}

.ticket-container .btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #005e14;
  background-color: #fff;
  color: #005e14;
}

.ticket-container .btn:hover {
  background-color: #005e14;
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}



/* Minimalist input and button styles */
input[type="text"],
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fefefe;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
    border-color: #005e14;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

input[type="submit"],
button {
    width: 100%;
    padding: 12px;
    background-color: #005e14;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover,
button:hover {
    background-color: #005e14;
}

/* Responsive design for small screens */
@media (max-width: 600px) {
    .container {
        padding: 20px;
        margin: 20px;
    }

    input[type="text"],
    textarea,
    select,
    input[type="submit"],
    button {
        font-size: 16px;
        padding: 12px;
    }

    h2 {
        font-size: 20px;
    }
}
