/* css/at-text-to-video.css */

/* Container style */
#sttv-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 25px 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    font: normal normal 500 14px 'futura-pt', sans-serif;
}

#sttv-form input[type="text"],
#sttv-form select,
#sttv-form textarea {
    font-family: "adobe-garamond-pro", serif;
    width: 100%;
    padding: 12px 15px;
    margin: 12px 0 0 0;
    border: 1.8px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    resize: vertical;
    background: #dcefdc;
}

#sttv-form input[type="text"]:focus,
#sttv-form select:focus,
#sttv-form textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 6px rgba(0,115,170,0.4);
    font-family: "adobe-garamond-pro", serif;
}
#sttv-form textarea {
    height: 150px!important;
}


/* reCAPTCHA container */
.g-recaptcha {
    margin: 20px 0 0;
    transform: scale(0.95);
    transform-origin: 0 0;
}

/* Video output styling */
#sttv-video-output {
    max-width: 450px;
    margin: 30px auto 0;
    text-align: center;
}

/* Responsive tweaks */
@media (max-width: 480px) {
    #sttv-form {
        padding: 20px 15px;
    }
}

#sttv-loading-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  user-select: none;
}

.sttv-loading-spinner {
  border: 8px solid rgba(255, 255, 255, 0.2);
  border-top: 8px solid #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: sttv-spin 1s linear infinite;
  margin-bottom: 15px;
}
.sttv-loading-text{
     font: normal normal 500 16px 'futura-pt', sans-serif;
     text-transform: uppercase;
}
@keyframes sttv-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Popup styles */
.sttv-popup {
  position: fixed;
  top: 60px; 
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
}

.sttv-popup-content {
  max-width: 600px;
  position: relative;
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-height: 90vh;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  overflow: auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
@media (max-width: 650px) {
   .sttv-popup-content {
       max-width: 85%;
    }
}
.sttv-close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  font-weight: bold;
  line-height: 1;
  user-select: none;
  transition: color 0.3s ease;
}

.sttv-close-btn:hover {
  color: #e00;
}

.sttv-button-row {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 20px;
  margin-top:15px; 
  justify-content:center;
}
.sttv-button-row.notf {
  font: normal normal 600 16px 'futura-pt', sans-serif;
}

.sttv-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #007bff;
  color: #007bff;
  background: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sttv-btn:hover {
  background-color: #007bff;
  color: #fff;
}

.sttv-whatsapp img {
  margin-right: 6px;
  filter: invert(36%) sepia(68%) saturate(3239%) hue-rotate(91deg) brightness(95%) contrast(94%);
}

.primary-link.green:hover::before{
  -webkit-transform: scaleX(1);
  transform: scaleX(1); 
}