.elementor-2547 .elementor-element.elementor-element-f50a4b9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-d61a8d4 *//* Root Variables - Utilix.co.in Style */
:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Main Wrapper */
.tax-calculator-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 20px;
  min-height: 100vh;
}

.tax-calculator-container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

/* Header Section */
.calc-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
}

.calc-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.calc-subtitle {
  font-size: 16px;
  opacity: 0.95;
  margin: 0;
  font-weight: 400;
}

/* Regime Toggle */
.regime-toggle-section {
  background: var(--bg-secondary);
  padding: 25px 30px;
  border-bottom: 1px solid var(--border-color);
}

.regime-toggle {
  display: inline-flex;
  background: white;
  border-radius: var(--radius-md);
  padding: 4px;
  box-shadow: var(--shadow-sm);
  gap: 4px;
}

.regime-btn {
  padding: 12px 32px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.regime-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.regime-btn.active {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

/* Calculator Body */
.calc-body {
  padding: 40px 30px;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.label-text {
  flex: 1;
}

.label-icon {
  font-size: 18px;
  opacity: 0.7;
}

.label-hint {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

.input-group input,
.input-group select {
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-primary);
  background: white;
  transition: var(--transition);
  font-family: inherit;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-group input[readonly] {
  background: var(--bg-tertiary);
  cursor: not-allowed;
  color: var(--text-secondary);
}

.input-group input::placeholder {
  color: var(--text-light);
}

/* Deductions Section */
.deductions-section {
  grid-column: 1 / -1;
  background: var(--bg-secondary);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-color);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.deductions-section.hidden {
  display: none;
}

.section-title {
  grid-column: 1 / -1;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "💰";
  font-size: 20px;
}

/* Calculate Button */
.calc-btn {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.calc-btn:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 22px;
}

/* Results Section */
.results-section {
  background: var(--bg-secondary);
  padding: 40px 30px;
  border-top: 3px solid var(--primary-color);
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 30px 0;
  text-align: center;
}

/* Comparison Grid */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.regime-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

.regime-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.regime-card-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
}

.new-regime-card .regime-card-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-bottom: none;
}

.old-regime-card .regime-card-header {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border-bottom: none;
}

.regime-card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.regime-badge {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.regime-badge.alt {
  background: rgba(255, 255, 255, 0.25);
}

.regime-card-body {
  padding: 24px;
}

.amount-display {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.amount-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.amount-value {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.breakdown-item span:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.breakdown-item span:last-child {
  color: var(--text-primary);
  font-weight: 700;
}

.breakdown-item.highlight {
  background: #dcfce7;
  border: 2px solid var(--secondary-color);
}

.savings-amount {
  color: var(--secondary-color) !important;
  font-size: 16px;
}

/* Tax Slab Breakdown */
.slab-breakdown {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.slab-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px 0;
}

.slab-table {
  display: grid;
  gap: 12px;
}

.slab-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-color);
}

.slab-row.header {
  background: var(--primary-color);
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slab-row div {
  font-size: 15px;
}

.slab-row:not(.header) div:last-child {
  font-weight: 700;
  color: var(--primary-color);
}

/* Take Home Section */
.takehome-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.takehome-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.takehome-card h3 {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 600;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.takehome-amount {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.takehome-note {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.action-btn {
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.action-btn span {
  font-size: 18px;
}

.action-btn.primary {
  background: var(--primary-color);
  color: white;
}

.action-btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.action-btn.secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.action-btn.secondary:hover {
  background: var(--primary-color);
  color: white;
}

.action-btn.tertiary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.action-btn.tertiary:hover {
  background: var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .tax-calculator-wrapper {
    padding: 20px 10px;
  }

  .calc-header {
    padding: 30px 20px;
  }

  .calc-title {
    font-size: 24px;
  }

  .calc-subtitle {
    font-size: 14px;
  }

  .calc-body,
  .results-section,
  .slab-breakdown {
    padding: 30px 20px;
  }

  .input-grid,
  .deductions-section {
    grid-template-columns: 1fr;
  }

  .comparison-grid,
  .takehome-section {
    grid-template-columns: 1fr;
  }

  .slab-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
  }

  .amount-value {
    font-size: 28px;
  }

  .takehome-amount {
    font-size: 32px;
  }
}

/* Print Styles */
@media print {
  .tax-calculator-wrapper {
    background: white;
    padding: 0;
  }

  .calc-btn,
  .action-buttons,
  .regime-toggle-section {
    display: none;
  }

  .regime-card {
    break-inside: avoid;
  }
}/* End custom CSS */