/* Language Switcher Styles */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #005BFE;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 91, 254, 0.2);
  height: 40px;
}

.lang-switcher:hover {
  background: rgba(0, 91, 254, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 91, 254, 0.3);
}

.lang-switcher:active {
  transform: translateY(0);
}

.lang-switcher .lang-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Tally Form Container Styles */
.tally-form-container {
  width: 100%;
  min-height: 529px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.tally-form-container iframe {
  border: none;
  width: 100%;
  display: block;
}

/* Ensure smooth transitions */
.tally-form-container iframe {
  transition: opacity 0.3s ease;
}

/* Header adjustments for language switcher */
.lp_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  min-height: 40px;
}

.lp_header .zw_logo,
.lp_header .yt_logo {
  max-height: 40px;
  width: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .lang-switcher {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .lang-switcher .lang-icon {
    width: 18px;
    height: 18px;
  }
  
  .lp_header {
    padding: 12px 15px;
  }
  
  .lp_header .zw_logo {
    max-height: 32px;
  }
}

@media (max-width: 480px) {
  .lang-switcher {
    padding: 6px 12px;
    font-size: 12px;
    gap: 6px;
  }
  
  .lang-switcher .lang-icon {
    width: 16px;
    height: 16px;
  }
}

/* Animation for language switch */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

[data-i18n] {
  animation: fadeIn 0.3s ease;
}

/* System Requirements Tab Styles Enhancement */
.pa-tabs {
  display: flex;
  border-radius: 28px;
  background-color: #fff;
  width: fit-content;
  align-items: center;
  margin: 40px auto;
  position: relative;
  cursor: pointer;
  padding: 4px;
}

.pa-tab {
  padding: 12px 34px;
  flex-shrink: 0;
  z-index: 2;
  color: #222;
  font-size: 16px;
  font-family: 'notosansbold', 'Noto Sans', sans-serif;
  transition: color 0.3s ease;
  cursor: pointer;
}

.pa-tab.active {
  color: #fff;
}

.pa-tab-bg {
  position: absolute;
  height: calc(100% - 8px);
  z-index: 1;
  background-color: #005BFE;
  border-radius: 28px;
  transition: left 0.5s ease, width 0.5s ease;
}

/* Responsive adjustments for tabs */
@media (max-width: 768px) {
  .pa-tabs {
    margin: 40px auto 30px;
    border: 1px solid #E4E6F0;
  }
  
  .pa-tab {
    max-width: 50%;
    height: auto;
    line-height: 1;
    font-size: 12px;
    padding: 8px 34px;
    text-align: center;
  }
  
  .pa-tab-bg {
    height: calc(100% - 8px);
  }
}

/* Price Calculator Pillar Animation */
.pillar {
  transition: height 0.5s ease;
}

.pillar.standard,
.pillar.profesional,
.pillar.autoCAD {
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Quantity Button Styles */
.quantity-button {
  cursor: pointer;
  user-select: none;
  transition: opacity 0.3s ease;
}

.quantity-button:hover:not(.disabled) {
  opacity: 0.7;
}

.quantity-button.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Range Input Styling */
.input_range {
  cursor: pointer;
}

/* Price Number Animation */
.rm_num .val {
  transition: all 0.3s ease;
}

/* AutoCAD Price Input */
#autocadprice {
  transition: border-color 0.3s ease;
}

#autocadprice:focus {
  outline: none;
  border-color: #005BFE;
}
