.formulario-concurso {
    max-width: 600px;
    margin: 0 auto;
    font-family: sans-serif;
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    border-bottom: 2px solid #ccc;
}

.tabs li {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    background: #f2f2f2;
    border: 1px solid #ccc;
    border-bottom: none;
}

.tabs li.active {
    background: #fff;
    font-weight: bold;
    border-bottom: 2px solid white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/*form label {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #45a049;
}

.mensaje-exito {
    background-color: #dff0d8;
    border: 1px solid #3c763d;
    color: #3c763d;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}*/

/*New Registration form style*/
h1{
  text-align: center;
}
.formulario-concurso .form-group {
    position: relative;
    margin-top: 25px;
}
.formulario-concurso .form-group input,
.formulario-concurso .form-group select,
.formulario-concurso .form-group textarea {
    width: 100%;
    padding: 14px 10px 6px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: white;
}
.formulario-concurso .form-group label {
    position: absolute;
    top: -14px;
    left: 10px;
    background: white;
    font-size: 12px;
    padding: 0 4px;
    color: #777;
}
.checkbox-wrapper {
    display: flex;
    align-items: start;
    margin-top: 20px;
}
.checkbox-wrapper input {
    width: auto;
    margin-right: 10px;
    margin-top: 8px;
}
span.rut-id{
	font-size: 14px;
    color: red;
}
input[type="submit"]{
    width: 100%;
    padding: 10px;
    background-color: #ccc;
    border: none;
    color: white;
    font-size: 16px;
    margin-top: 20px;
    cursor: not-allowed;
}

/*Placeholder style for registration form*/
/* Faded placeholder color */
.formulario-concurso input::placeholder,
.formulario-concurso textarea::placeholder,
.formulario-concurso select::placeholder {
  color: #aaa;
  opacity: 1;
  transition: opacity 0.3s ease;
  font-size:14px;
}

/* Hide placeholder on focus */
.formulario-concurso input:focus::placeholder,
.formulario-concurso textarea:focus::placeholder,
.formulario-concurso select:focus::placeholder {
  opacity: 0;
}

/*Password Icon*/
.password-wrapper {
  position: relative;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"]{
  width: 100%;
  padding-right: 40px; /* space for icon */
}

.toggle-password{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #888;
  user-select: none;
}


/* Sample Form */
.custom-qty-control {
    margin-bottom: 25px;
}

.qty-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
}

.qty-wrapper input[type="number"] {
    width: 60px;
    text-align: center;
    font-size: 1.2em;
    padding: 5px;
    height: 44px;
    border-radius: 6px;
}

.qty-wrapper button {
    background-color: #eee;
    border: 1px solid #bbb;
    font-size: 1.2em;
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.qty-wrapper button:hover {
    background-color: #ddd;
}

.sample-set {
    border: 2px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.sample-set legend {
    font-weight: bold;
    font-size: 1.1em;
    padding: 0 10px;
}

.sample-set label {
    display: block;
    margin-bottom: 10px;
}

.sample-set input[type="text"],
.sample-set select{
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 1em;
}

/*Error page*/
body#error-page{
    text-align: center;
}


/* remove quantity box in product page */
.single-product form.cart .quantity {
    display: none;
}


/* Remove Quantity box from cart page*/
.woocommerce-cart .wc-block-components-quantity-selector{
    display: none;
}


.wc-block-components-address-form__country.wc-block-components-country-input {
    display: none;
}

@media only screen and (max-width: 400px) {
  .formulario-concurso .form-group label {
        font-size: 10px;
  }
}
