body, .form-container, .form-container * {
    font-family: 'DM Sans', 'Segoe UI', Arial, sans-serif !important;
}

.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30,34,90,0.22);
    z-index: 2147483647;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2.5px);
}

.popup.popup-visible {
    display: flex;
}

.popup.popup-visible .form-container {
    animation: popupFadeIn 0.38s cubic-bezier(.4,1.3,.5,1);
}

@keyframes popupFadeIn {
  from { opacity: 0; transform: scale(0.85);}
  to   { opacity: 1; transform: scale(1);}
}

.form-container {
    position: relative;
    max-width: 370px;
    width: 94%;
    padding: 36px 26px 26px 26px;
    background: rgba(255,255,255,0.98);
    border-radius: 22px;
    box-shadow: 0 0 32px rgba(0,0,0,0.19), 0 2px 8px rgba(0,123,255,0.10);
    text-align: center;
    border: 1.5px solid #e7eaf3;
    backdrop-filter: blur(1.5px);
}

.form-container h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #1C2539;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.form-container p {
  color: #444;
  font-size: 16px;
  margin-bottom: 22px;
  line-height: 20px;
}

.form-container input[type="text"],
.form-container input[type="tel"] {
    width: 100%;
    padding: 0.7rem 0.8rem !important;
    margin: 6px 0 6px;
    display: inline-block;
    border: 1px solid #ddd;
    box-sizing: border-box;
    border-radius: 7px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    color: #1C2539;
    background: #f8fafc;
    outline: none;
}

.form-container input[type="text"]:focus,
.form-container input[type="tel"]:focus {
    border-color: #007bff;
    background: #fff;
}

.btn-enviar-formulario-soporte {
background-color: var(--maincolor);
  color: white;
  padding: 7px 20px;
  margin: 12px 0 2px;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
  border-radius: 40px;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  display: block;
  margin: 10px auto 0;
}

.btn-enviar-formulario-soporte:hover, .btn-enviar-formulario-soporte:focus {
background-color: #1C2539;
  color: white;
  padding: 7px 20px;
  margin: 12px 0 2px;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
  border-radius: 40px;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  display: block;
  margin: 10px auto 0;
}

.close-btn {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 38px;
    font-weight: bold;
    color: #bbb;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2;
    line-height: 1;
}
.close-btn:hover {
    color: #007bff;
}

#soporteMessageContainer {
    color: #0a7d2c;
    background: #e6f9ed;
    border-radius: 10px;
    padding: 13px 0;
    margin-top: 0;
    font-weight: 600;
    font-size: 1.07em;
    box-shadow: 0 1px 4px rgba(10,125,44,0.07);
    display: none;
}
#soporteMessageContainer .error {
    color: #b30000;
    background: #ffeaea;
    border-radius: 10px;
    padding: 10px 0;
    margin: 0;
    font-weight: 600;
}
#soporteMessageContainer .success {
    color: #0a7d2c;
    background: #e6f9ed;
}