/* Premium service enquiry modal — clean light theme */

.tev-se-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tev-se-overlay.active {
  display: flex;
  opacity: 1;
}

.tev-se-modal {
  width: min(520px, 100%);
  max-height: min(92vh, 880px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.12);
  color: #475569;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.tev-se-overlay.active .tev-se-modal {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .tev-se-overlay {
    align-items: center;
    padding: 1rem;
  }

  .tev-se-modal {
    border-radius: 20px;
    max-height: min(88vh, 860px);
  }
}

.tev-se-head {
  position: relative;
  padding: 1.15rem 1.25rem 0.85rem;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.tev-se-head h2 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.tev-se-head .tev-se-sub {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.tev-se-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.tev-se-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.tev-se-body {
  overflow-y: auto;
  padding: 1rem 1.25rem 1.5rem;
  flex: 1;
}

.tev-se-summary {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.tev-se-summary h3 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 700;
}

.tev-se-summary p {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #475569;
}

.tev-se-actions {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tev-se-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.tev-se-btn:active {
  transform: scale(0.98);
}

.tev-se-btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.tev-se-btn--tg {
  background: #0088cc;
  color: #fff;
}

.tev-se-btn--callback {
  background: #2563eb;
  color: #fff;
}

.tev-se-btn--ghost {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.tev-se-btn--products {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.tev-se-callback {
  display: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.tev-se-callback.open {
  display: block;
}

.tev-se-callback h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.tev-se-field {
  margin-bottom: 0.65rem;
}

.tev-se-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.tev-se-field input,
.tev-se-field select,
.tev-se-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 0.88rem;
}

.tev-se-field textarea {
  min-height: 72px;
  resize: vertical;
}

.tev-se-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.tev-se-time {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tev-se-time label {
  flex: 1;
  min-width: 90px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.78rem;
  cursor: pointer;
  color: #475569;
}

.tev-se-time input {
  width: auto;
}

.tev-se-accordion {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 0.55rem;
  overflow: hidden;
  background: #fff;
}

.tev-se-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 0.7rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
}

.tev-se-accordion summary::-webkit-details-marker {
  display: none;
}

.tev-se-accordion summary::after {
  content: '+';
  float: right;
  color: #94a3b8;
}

.tev-se-accordion[open] summary::after {
  content: '−';
}

.tev-se-accordion__body {
  padding: 0.75rem 0.9rem 0.9rem;
  font-size: 0.82rem;
  color: #64748b;
}

.tev-se-benefits {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.55;
}

.tev-se-benefits li {
  margin-bottom: 0.25rem;
}

.tev-se-doc-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.5;
}

.tev-se-process-title {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.tev-se-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.tev-se-success.show {
  display: block;
}

.tev-se-success .tev-se-success-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.tev-se-success p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.tev-se-error {
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.tev-se-phone .tev-phone-wrap {
  display: flex;
  gap: 0.35rem;
}

.tev-se-phone .tev-phone-code {
  width: 5.5rem;
  flex-shrink: 0;
}

.tev-se-phone .tev-phone-national {
  flex: 1;
}

@media (max-width: 480px) {
  .tev-se-row {
    grid-template-columns: 1fr;
  }
}
