.taric2-form-container {
  max-width: 680px;
  margin: 60px auto;
  background: #152644;
  color: #fff;
  padding: 40px 45px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  font-family: "Inter", sans-serif;
}
.taric2-logo {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #2c3e60;
}
.taric2-logo img {
  width: 125px !important;
  height: auto !important;
  max-width: 125px !important;
  display: block;
  margin: 0 auto;
}
.taric2-description {
  margin: 18px 0 24px;
  color: #b7bfd9;
  font-size: 14px;
  line-height: 1.6;
}
.taric2-form-container label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #E2FF65;
  font-size: 15px;
}
.taric2-form-container input[type="email"],
.taric2-form-container input[type="text"],
.taric2-form-container input[type="date"] {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid #2c3e60;
  background: #0e1a33;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
}

/* Placeholders de los inputs (incluida la fecha) en gris suave */
.taric2-form-container input::placeholder {
  color: #b7bfd9;
  opacity: 1; /* asegurar que se vea igual en todos los navegadores */
}

/* Forzar color del texto en inputs de fecha (placeholder/valor) */
.taric2-form-container input[type="date"] {
  color: #b7bfd9; /* mismo gris que el resto cuando está vacío */
}

/* Chrome / Safari: parte editable del date input */
.taric2-form-container input[type="date"]::-webkit-datetime-edit {
  color: #b7bfd9;
}

/* Firefox */
.taric2-form-container input[type="date"]::-moz-placeholder {
  color: #b7bfd9;
}

/* Edge / IE (por compat) */
.taric2-form-container input[type="date"]:-ms-input-placeholder {
  color: #b7bfd9;
}

/* Estilo del icono del selector de fecha */
.taric2-form-container input[type="date"]::-webkit-calendar-picker-indicator {
  filter: brightness(0) saturate(100%) invert(89%) sepia(59%) saturate(404%) hue-rotate(18deg) brightness(106%) contrast(97%);
  cursor: pointer;
}

/* Quitar fondo/blanco alrededor en navegadores WebKit */
.taric2-form-container input[type="date"]::-webkit-inner-spin-button,
.taric2-form-container input[type="date"]::-webkit-clear-button {
  display: none;
}
#container_number {
  margin-bottom: 6px;
}
.taric2-form-container textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid #2c3e60;
  background: #1b2c57;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
}
.taric2-form-container textarea:focus {
  border-color: #E2FF65;
  outline: none;
}
.taric2-form-container input:focus {
  border-color: #E2FF65;
  outline: none;
}
.file-drop-area {
  position: relative;
  border: 2px dashed #2c3e60;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  background: #0e1a33;
  color: #ddd;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.file-drop-area:hover,
.file-drop-area.highlight {
  border-color: #E2FF65;
  background: #1b2c57;
  transition: all 0.25s ease-in-out;
}
.file-drop-area input[type="file"] {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.file-drop-area::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.taric2-file-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}
.taric2-file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0e1a33;
  border: 1px solid #2c3e60;
  border-radius: 5px;
  padding: 8px 12px;
  margin-top: 8px;
  font-size: 14px;
  color: #E2FF65;
}
.taric2-file-list li button {
  background: transparent;
  border: none;
  color: #ff6b6b;
  font-weight: bold;
  cursor: pointer;
}
.submit-btn {
  display: block;
  width: 100%;
  background: #E2FF65;
  color: #152644;
  font-size: 16px;
  font-weight: 700;
  padding: 14px;
  margin-top: 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
}
.submit-btn:hover { background: #d6f85a; }
.note { color: #b7bfd9; font-size: 13px; margin-bottom: 15px; display: block; }
#response { 
  margin-top: 20px; 
  font-weight: 500; 
  font-size: 15px; 
  line-height: 1.6;
  padding: 15px;
  background: rgba(14, 26, 51, 0.5);
 
}
#response code {
  background: rgba(226, 255, 101, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 14px;
}

/* Usuario logueado */
.taric2-user-info {
  background: #0e1a33;
  border: 1px solid #2c3e60;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.taric2-user-info p {
  margin: 0;
  color: #b7bfd9;
  font-size: 14px;
}
.taric2-user-info strong {
  color: #E2FF65;
  font-weight: 600;
}

/* Mensaje de login requerido */
.taric2-login-required {
  background: #1b2c57;
  border: 2px solid #E2FF65;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: #fff;
  font-size: 15px;
}
.taric2-login-required a {
  color: #E2FF65;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #E2FF65;
}
.taric2-login-required a:hover {
  color: #d6f85a;
  border-bottom-color: #d6f85a;
}

/* Mensaje de límite de prueba alcanzado */
.taric2-trial-limit-reached {
  background: #1b2c57;
  border: 2px solid #E2FF65;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  color: #fff;
}
.taric2-trial-limit-reached h3 {
  color: #E2FF65;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 20px;
}
.taric2-trial-limit-reached p {
  margin: 10px 0;
  line-height: 1.6;
}
.taric2-trial-limit-reached .contact-email {
  margin: 20px 0;
}
.taric2-trial-limit-reached .contact-email a {
  color: #E2FF65;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #E2FF65;
  padding-bottom: 2px;
}
.taric2-trial-limit-reached .contact-email a:hover {
  color: #d6f85a;
  border-bottom-color: #d6f85a;
}
.taric2-trial-limit-reached small {
  color: #b7bfd9;
  font-size: 13px;
}

/* Contador de envíos restantes (parte superior) */
.taric2-trial-counter-top {
  text-align: center;
  margin-bottom: 20px;
  padding: 12px 20px;
  background: rgba(14, 26, 51, 0.5);
  border-radius: 8px;
  border: 1px solid #d6f85a;
}
.taric2-trial-counter-top p {
  margin: 0;
  color: #E2FF65;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* Modal de confirmación de envío */
.taric2-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.taric2-modal-overlay.taric2-modal-open {
  display: flex;
}

.taric2-modal {
  position: relative;
  max-width: 520px;
  width: 90%;
  background: #152644;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  padding: 24px 26px 22px;
  color: #fff;
  font-family: "Inter", sans-serif;
}

.taric2-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.taric2-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #E2FF65;
  margin: 0;
}

.taric2-modal-close {
  background: transparent;
  border: none;
  color: #E2FF65;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.taric2-modal-body {
  font-size: 15px;
  line-height: 1.6;
}

.taric2-modal-body strong {
  color: #E2FF65;
}

.taric2-modal-body code {
  background: rgba(226, 255, 101, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
}

.taric2-error-box {
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.4);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 24px;
  color: #ffb3b3;
  line-height: 1.6;
  font-size: 14px;
}

.taric2-error-box strong {
  color: #ff8080;
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.taric2-error-box small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.taric2-error-box a {
  color: #E2FF65;
  text-decoration: none;
}

.taric2-error-box a:hover {
  text-decoration: underline;
}
