/* ==============================
   VSOFT INTERNSHIP FORM + THANKYOU
   Mobile friendly
   ============================== */

.vsoft-int-wrap{
  max-width: 1000px;
  margin: 22px auto;
  padding: 0 14px;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

.vsoft-int-card{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 42px rgba(2,6,23,.08);
  overflow: hidden;
}

.vsoft-int-head{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 22px 16px;
  background: linear-gradient(135deg, #0b2d5c, #2563eb);
  color: #fff;
}

.vsoft-int-brand{
  font-weight: 900;
  color: #fbbf24;
  margin-bottom: 6px;
}

.vsoft-int-title{
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.vsoft-int-sub{
  margin: 0;
  opacity: .92;
  font-size: 14px;
  line-height: 1.55;
}

.vsoft-int-badge{
  align-self: flex-start;
  background: #fbbf24;
  color: #111827;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

.vsoft-int-error{
  margin: 16px 22px;
  background: #fef2f2;
  border: 1px solid rgba(239,68,68,.25);
  color: #7f1d1d;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}
.vsoft-int-error ul{ margin: 8px 0 0; padding-left: 18px; }

.vsoft-int-form{ padding: 18px 22px 22px; }

.vsoft-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.vsoft-col-2{ grid-column: 1 / -1; }

.vsoft-field label{
  display:block;
  font-weight: 800;
  margin: 0 0 7px;
  font-size: 13.5px;
  color: #111827;
}

.vsoft-field input,
.vsoft-field textarea{
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
  color: #0f172a;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vsoft-field textarea{ resize: vertical; }
.vsoft-field input::placeholder,
.vsoft-field textarea::placeholder{ color: #94a3b8; }

.vsoft-field input:focus,
.vsoft-field textarea:focus{
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.18);
}

.vsoft-field small{
  display:block;
  margin-top: 7px;
  opacity: .8;
  font-size: 12px;
  color: #475569;
}

.vsoft-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 16px;
}

.vsoft-btn{
  background: linear-gradient(135deg, #2563eb, #0b2d5c);
  color:#fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 900;
  cursor:pointer;
  transition: transform .06s ease, opacity .15s ease;
}
.vsoft-btn:hover{ opacity:.95; }
.vsoft-btn:active{ transform: translateY(1px); }
.vsoft-btn:disabled{ opacity:.6; cursor:not-allowed; }

.vsoft-note{ opacity: .85; font-size: 13px; color:#475569; }

.vsoft-honeypot{
  position:absolute; left:-9999px; top:-9999px;
  height:1px; width:1px; opacity:0;
}

/* Submit loading overlay */
.vsoft-int-loading{
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}
.vsoft-int-loading.show{ display:flex; }
.vsoft-int-loading-box{
  background:#fff;
  border-radius: 14px;
  padding: 18px;
  min-width: 260px;
  text-align:center;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.vsoft-int-loading-spin{
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 4px solid #e5e7eb;
  border-top-color: #2563eb;
  margin: 0 auto 10px;
  animation: vsoftSpin .9s linear infinite;
}
@keyframes vsoftSpin{ to { transform: rotate(360deg); } }
.vsoft-int-loading-text{
  font-weight: 900;
  color:#0f172a;
  font-size: 14px;
}

/* THANK YOU / PREVIEW */
.vsoft-thx-wrap{
  max-width: 950px;
  margin: 22px auto;
  padding: 0 14px;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.vsoft-thx-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 42px rgba(2,6,23,.08);
  overflow:hidden;
}
.vsoft-thx-head{
  padding: 18px 18px 12px;
  background: linear-gradient(135deg, #0b2d5c, #2563eb);
  color:#fff;
}
.vsoft-thx-head h2{ margin:0 0 6px; font-size: 20px; font-weight: 900; }
.vsoft-thx-head p{ margin:0; opacity:.92; }

.vsoft-thx-grid{ padding: 14px 18px 18px; display:grid; gap: 10px; }
.vsoft-thx-row{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
  border:1px solid #eef2ff;
  background:#f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
}
.vsoft-thx-k{ font-weight: 900; color:#0f172a; font-size: 13px; }
.vsoft-thx-v{ color:#334155; font-size: 13.5px; line-height: 1.55; }
.vsoft-thx-empty{
  padding: 18px;
  color:#334155;
}

/* Mobile */
@media (max-width: 720px){
  .vsoft-int-wrap, .vsoft-thx-wrap{ margin: 14px auto; padding: 0 12px; }
  .vsoft-int-head{ flex-direction: column; gap: 10px; padding: 16px 14px 14px; }
  .vsoft-int-title{ font-size: 18px; }
  .vsoft-int-form{ padding: 14px; }
  .vsoft-grid{ grid-template-columns: 1fr; gap: 12px; }
  .vsoft-col-2{ grid-column: auto; }
  .vsoft-field input, .vsoft-field textarea{ font-size: 16px; } /* iOS zoom fix */
  .vsoft-actions{ flex-direction: column; align-items: stretch; }
  .vsoft-btn{ width:100%; padding: 14px 16px; font-size: 15px; }
  .vsoft-note{ text-align:center; font-size: 12.5px; }

  .vsoft-thx-row{ grid-template-columns: 1fr; }
}
