/* Stiluri Modul Calculator Depozitare Vadalex Constanta */
.vdx-calc-wrapper {
  margin: 1.5rem 0 2.5rem;
  font-family: inherit;
}
.vdx-calc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.vdx-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 0.5rem;
  overflow-x: auto;
}
.vdx-tab {
  background: none;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.vdx-tab:hover {
  color: #0f172a;
  background: #f8fafc;
}
.vdx-tab.active {
  color: #1e3a8a;
  background: #eff6ff;
  border-bottom: 2px solid #1e3a8a;
}
.vdx-hint {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.25rem;
}
.vdx-conversion-banner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 1rem;
  margin: 1.25rem 0;
  text-align: center;
}
.vdx-conv-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.vdx-conv-label {
  font-size: 0.85rem;
  color: #475569;
}
.vdx-conv-arrow {
  font-size: 1.4rem;
  color: #94a3b8;
}
.vdx-highlight {
  color: #1e3a8a;
  font-size: 1.35rem;
  font-weight: 800;
}
.vdx-subhint {
  font-size: 0.75rem;
  color: #64748b;
}
.vdx-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.25rem 0 0.75rem;
  border-top: 1px dashed #e2e8f0;
  padding-top: 1rem;
}
.vdx-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}
.vdx-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  cursor: pointer;
}
.vdx-tag {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #334155;
  margin-left: 0.35rem;
}
.vdx-advanced {
  margin-top: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: #fafafa;
}
.vdx-advanced summary {
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
  cursor: pointer;
}
.vdx-advanced-body {
  padding-top: 1rem;
}

/* Card Rezultate */
.vdx-result-card {
  background: #ffffff;
  border: 2px solid #1e3a8a;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.1);
}
.vdx-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}
.vdx-result-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #0f172a;
}
.vdx-badge {
  background: #1e3a8a;
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.vdx-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.vdx-metric-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #1e3a8a;
  border-radius: 8px;
  padding: 1rem;
}
.vdx-metric-box.secondary {
  border-left-color: #0284c7;
}
.vdx-metric-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.35rem;
}
.vdx-metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
}
.vdx-metric-sub {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.2rem;
}
.vdx-breakdown-wrapper {
  margin: 1.25rem 0;
}
.vdx-breakdown-wrapper h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #334155;
}
.vdx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.vdx-table th {
  background: #f1f5f9;
  padding: 0.5rem 0.75rem;
  text-align: left;
  color: #475569;
}
.vdx-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}
.vdx-grand-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.vdx-gt-info {
  display: flex;
  flex-direction: column;
}
.vdx-gt-info span {
  font-size: 0.85rem;
  color: #1e3a8a;
}
.vdx-gt-info strong {
  font-size: 1.5rem;
  color: #1e3a8a;
}
.vdx-disclaimer {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .vdx-conversion-banner {
    flex-direction: column;
    gap: 0.5rem;
  }
  .vdx-conv-arrow {
    transform: rotate(90deg);
  }
  .vdx-grand-total-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}
