/* ================================================================= */
/* GHUGHUTI TRAVEL TOOLS - UTTARAKHAND TRIP BUDGET CALCULATOR CSS    */
/* ================================================================= */

.uk-calc-container {
  --uk-primary: #047857;
  --uk-primary-dark: #065f46;
  --uk-primary-light: #ecfdf5;
  --uk-accent: #0284c7;
  --uk-text-dark: #1e293b;
  --uk-text-muted: #64748b;
  --uk-border: #e2e8f0;
  --uk-bg-light: #f8fafc;
  --uk-card-bg: #ffffff;
  --uk-radius: 12px;
  --uk-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  
  font-family: inherit;
  color: var(--uk-text-dark);
  background: #ffffff;
  border: 1px solid var(--uk-border);
  border-radius: var(--uk-radius);
  padding: 28px 24px;
  margin: 25px auto;
  max-width: 1140px;
  box-shadow: var(--uk-shadow);
  box-sizing: border-box;
}

.uk-calc-container * {
  box-sizing: border-box;
}

/* Header */
.uk-calc-header {
  text-align: center;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--uk-border);
  padding-bottom: 20px;
}

.uk-calc-badge {
  display: inline-block;
  background: var(--uk-primary-light);
  color: var(--uk-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  border: 1px solid rgba(4, 120, 87, 0.2);
}

.uk-calc-title {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--uk-text-dark);
  margin: 0 0 10px 0;
}

.uk-calc-subtitle {
  font-size: 15px;
  color: var(--uk-text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}

/* 2-Column Responsive Layout */
.uk-calc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: start;
}

@media (max-width: 900px) {
  .uk-calc-layout {
    grid-template-columns: 1fr;
  }
}

/* Form Elements */
.uk-form-group {
  margin-bottom: 20px;
}

.uk-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.uk-icon {
  font-size: 16px;
}

.uk-tooltip {
  font-size: 12px;
  color: var(--uk-text-muted);
  cursor: help;
}

.uk-select-wrapper {
  position: relative;
}

.uk-select {
  width: 100%;
  padding: 11px 14px;
  font-size: 14.5px;
  border: 1.5px solid var(--uk-border);
  border-radius: 8px;
  background-color: var(--uk-bg-light);
  color: var(--uk-text-dark);
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.uk-select:focus {
  border-color: var(--uk-primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.15);
}

/* Grid 2 */
.uk-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 500px) {
  .uk-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Number Stepper */
.uk-number-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--uk-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--uk-bg-light);
}

.uk-btn-step {
  background: #e2e8f0;
  border: none;
  width: 42px;
  height: 42px;
  font-size: 18px;
  font-weight: bold;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uk-btn-step:hover {
  background: #cbd5e1;
}

.uk-input-num {
  flex: 1;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--uk-text-dark);
  padding: 8px;
  outline: none;
  -moz-appearance: textfield;
}

.uk-input-num::-webkit-outer-spin-button,
.uk-input-num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Pill Style Selector */
.uk-pill-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.uk-pill-item {
  position: relative;
  cursor: pointer;
}

.uk-pill-item input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.uk-pill-content {
  border: 1.5px solid var(--uk-border);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--uk-bg-light);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.uk-pill-content strong {
  font-size: 14px;
  color: var(--uk-text-dark);
}

.uk-pill-content small {
  font-size: 12px;
  color: var(--uk-text-muted);
  margin-top: 2px;
}

.uk-pill-item input[type="radio"]:checked + .uk-pill-content {
  border-color: var(--uk-primary);
  background: var(--uk-primary-light);
}

.uk-pill-item input[type="radio"]:checked + .uk-pill-content strong {
  color: var(--uk-primary-dark);
}

/* Add-ons Box */
.uk-addons-box {
  background: #f1f5f9;
  padding: 16px;
  border-radius: 10px;
  border: 1px dashed #cbd5e1;
}

.uk-addons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.uk-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
}

.uk-checkbox-item input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--uk-primary);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.uk-addon-info span {
  font-weight: 600;
  color: var(--uk-text-dark);
  display: block;
}

.uk-addon-info small {
  color: var(--uk-text-muted);
  font-size: 12px;
}

/* RIGHT RESULTS CARD */
.uk-summary-card {
  background: #ffffff;
  border: 2px solid var(--uk-primary);
  border-radius: var(--uk-radius);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(4, 120, 87, 0.1);
  position: sticky;
  top: 20px;
}

.uk-summary-header {
  text-align: center;
  border-bottom: 1px solid var(--uk-border);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.uk-card-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--uk-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.uk-cost-main {
  font-size: 40px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  margin: 6px 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.uk-cost-main .uk-currency {
  font-size: 26px;
  color: var(--uk-primary);
}

.uk-per-person {
  font-size: 14.5px;
  color: #475569;
  margin-bottom: 4px;
}

.uk-per-person strong {
  color: var(--uk-primary-dark);
  font-size: 16px;
}

.uk-range-hint {
  font-size: 12.5px;
  color: #64748b;
}

/* Breakdown Bars */
.uk-breakdown-section {
  margin-bottom: 20px;
}

.uk-breakdown-title {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  margin: 0 0 14px 0;
}

.uk-bar-row {
  margin-bottom: 12px;
}

.uk-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #334155;
  margin-bottom: 4px;
}

.uk-bar-labels strong {
  color: #0f172a;
}

.uk-progress-track {
  height: 7px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.uk-progress-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.uk-fill-stay { background: #047857; }
.uk-fill-transport { background: #0284c7; }
.uk-fill-food { background: #f59e0b; }
.uk-fill-activities { background: #8b5cf6; }
.uk-fill-buffer { background: #64748b; }

/* Tip Card */
.uk-tip-card {
  background: #f8fafc;
  border-left: 4px solid var(--uk-primary);
  padding: 12px 14px;
  border-radius: 6px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #334155;
}

.uk-tip-icon {
  font-size: 18px;
  line-height: 1;
}

/* Action Buttons */
.uk-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.uk-btn-share {
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.uk-btn-share:hover {
  background: #1eb857;
}

.uk-btn-print {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid var(--uk-border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.uk-btn-print:hover {
  background: #e2e8f0;
}

.uk-trust-badge {
  margin-top: 15px;
  font-size: 11px;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
}

/* Print Styles */
@media print {
  body * {
    visibility: hidden;
  }
  #ukTripCalculator, #ukTripCalculator * {
    visibility: visible;
  }
  #ukTripCalculator {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: none;
    box-shadow: none;
  }
  .uk-btn-share, .uk-btn-print {
    display: none !important;
  }
}
