/* ============================================
   BITCOIN CLINIC — SPECIFIC STYLES
   ============================================ */

/* Hero Specifics */
.clinic-hero {
  text-align: left;
}

.clinic-hero .hero-content {
  text-align: left;
  max-width: 100%;
}

.clinic-hero .hero-cta {
  justify-content: flex-start;
}

.clinic-hero-description {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: var(--space-xl) 0;
  opacity: 0.95;
}

/* Split Layout for Desktop */
@media (min-width: 992px) {
  .clinic-hero {
    justify-content: flex-end;
  }

  .clinic-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
  }

  .clinic-hero .hero-slideshow,
  .clinic-hero .hero-overlay {
    width: 50%;
    right: auto;
  }

  .clinic-hero .hero-content {
    width: 50%;
    padding-left: var(--space-3xl);
    padding-right: var(--space-3xl);
  }
}

/* Ensure mobile remains readable */
@media (max-width: 991px) {
  .clinic-hero .hero-content {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-md);
    margin-top: 80px; /* account for nav */
  }
}

.scroll-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-3xl);
  color: var(--text-tertiary);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.scroll-arrow {
  animation: float 2s infinite ease-in-out;
  color: var(--accent);
  margin-top: 4px;
}

/* Packages Grid */
.packages-section .section-title {
  margin-bottom: var(--space-sm);
}

.packages-section .section-subtitle {
  margin-bottom: var(--space-lg);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  align-items: stretch;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.package-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-xl), 0 0 25px var(--accent-glow);
}

.featured-plan {
  border-color: rgba(247, 147, 26, 0.4);
  box-shadow: 0 4px 20px rgba(247, 147, 26, 0.08);
}

.featured-plan::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(247, 147, 26, 0.3);
}

.package-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-lg);
}

.plan-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  color: #fff;
}

.bg-orange {
  background: #f7931a;
}

.bg-blue {
  background: #3b82f6;
}

.bg-green {
  background: #10b981;
}

.plan-conversation {
  --plan-color: #3b82f6;
}

.plan-privacy {
  --plan-color: #a855f7;
}

.plan-party {
  --plan-color: #14b8a6;
}

.package-name {
  color: var(--plan-color, var(--text-primary));
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.5px;
}

th.plan-conversation,
th.plan-privacy,
th.plan-party,
td.plan-conversation,
td.plan-privacy,
td.plan-party {
  color: var(--plan-color) !important;
}

.package-venue {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.package-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .package-suitability {
    min-height: 280px;
  }

  .package-venue {
    min-height: 44px;
    /* Align border-bottom by forcing equal height */
  }
}

.package-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  border-left: 2.5px solid var(--plan-color, var(--accent));
  padding-left: var(--space-xs);
}

.package-suitability ul,
.package-activities ul {
  padding-left: 0;
  margin-bottom: var(--space-md);
}

.package-suitability li,
.package-activities li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.package-suitability li::before,
.package-activities li::before {
  content: "•";
  color: var(--plan-color, var(--accent));
  font-weight: bold;
  font-size: 1.1rem;
  position: absolute;
  left: 4px;
  top: -2px;
}

.package-note {
  font-size: 0.8rem;
  color: var(--plan-color, var(--text-tertiary));
  margin-top: var(--space-sm);
  line-height: 1.4;
}

/* Service Area */
.service-area-section {
  padding-top: var(--space-xl);
}

.area-card {
  background: linear-gradient(135deg, var(--bg-card), rgba(26, 35, 50, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 992px) {
  .area-card {
    grid-template-columns: 1fr 1fr;
  }
}

.map-placeholder {
  width: 100%;
  min-height: 320px;
  background: rgba(15, 23, 42, 0.4);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-align: center;
  padding: var(--space-lg);
  transition: all var(--transition-fast);
}

[data-theme="light"] .map-placeholder {
  background: rgba(241, 245, 249, 0.6);
}

.map-placeholder:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.map-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: block;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(247, 147, 26, 0.15);
}

.area-title {
  margin-bottom: var(--space-md);
}

.area-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-size: 1rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.area-tag {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.area-tag:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.area-warning {
  background: rgba(247, 147, 26, 0.06);
  border-left: 3px solid var(--accent);
  padding: var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Comparison Table */
.comparison-section {
  padding-top: var(--space-xl);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-top: var(--space-xl);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.comparison-table th {
  background: var(--bg-tertiary);
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  border-bottom: 1.5px solid var(--border);
  width: 25%;
}

.comparison-table th:first-child {
  width: 20%;
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  line-height: 1.6;
  vertical-align: top;
}

.comparison-table td ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.comparison-table td li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.comparison-table td li::before {
  content: "•";
  color: var(--plan-color, var(--accent));
  font-weight: bold;
  font-size: 1.1rem;
  position: absolute;
  left: 4px;
  top: -2px;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

[data-theme="light"] .comparison-table tr:hover td {
  background: rgba(15, 23, 42, 0.01);
}

.feature-label {
  font-weight: 600;
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.005);
}

.warning-text {
  color: #ef4444 !important;
  font-weight: 500;
}

.table-footnote {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: var(--space-md);
  line-height: 1.5;
}

/* Interactive Calculator */
.calculator-section {
  padding-top: var(--space-xl);
}

.calculator-section .section-title {
  margin-bottom: var(--space-sm);
}

.calculator-section .section-subtitle {
  margin-bottom: var(--space-lg);
}

.calc-card {
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-xl);
}

.input-stepper-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.input-stepper-container label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 200px;
  background: var(--bg-primary);
  transition: border-color var(--transition-fast);
}

.stepper:focus-within {
  border-color: var(--accent);
}

.step-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.step-btn:hover {
  background: var(--bg-tertiary);
  color: var(--accent);
}

.stepper input {
  width: calc(200px - 96px);
  height: 48px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  -moz-appearance: textfield;
}

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

.input-hint {
  font-size: 0.76rem;
  color: var(--text-tertiary);
}

.calc-results {
  border-top: 1px solid var(--border);
  overflow-x: auto;
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.calc-table th {
  padding: 16px 20px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1.5px solid var(--border);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: 25%;
  background: var(--bg-tertiary);
}

.calc-table th:first-child {
  width: 20%;
}

.calc-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.calc-table tr:last-child td {
  border-bottom: none;
}

.calc-row-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.calc-row-avg {
  font-weight: 500;
}

.calc-row-deposit {
  font-weight: 600;
  color: var(--text-primary);
}

.calc-table .remark-text {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.4;
  max-width: 250px;
}

.calc-no-match {
  color: var(--text-tertiary);
  font-style: italic;
  font-size: 0.85rem;
}

/* Form Section */
.booking-form-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-4xl);
}

.form-wrapper-grid {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: var(--space-3xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.form-info-side {
  background: linear-gradient(180deg, var(--bg-tertiary), rgba(26, 35, 50, 0.3));
  padding: var(--space-3xl);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.info-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.form-side-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.form-side-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.booking-steps-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: auto;
}

.step-info-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  padding-top: 3px;
}

/* Inputs Side */
.form-inputs-side {
  padding: var(--space-3xl);
}

.form-row {
  display: flex;
  gap: var(--space-lg);
}

.flex-1 {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group label .required {
  color: #ef4444;
  margin-left: 2px;
}

.form-group select,
.form-group input[type="date"],
.form-group textarea {
  font-family: var(--font-body);
  background: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-group select:focus,
.form-group input[type="date"]:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(247, 147, 26, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

[data-theme="light"] .form-group select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
}

.form-group textarea {
  resize: vertical;
}

.form-stepper {
  max-width: 100%;
  width: 100%;
}

.form-stepper input {
  flex-grow: 1;
  width: 100%;
}

.field-hint {
  font-size: 0.74rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* Checkboxes styling */
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.checkbox-container {
  display: flex;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  user-select: none;
  line-height: 1.5;
  align-items: flex-start;
}

/* Hide native checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Custom checkmark */
.checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.checkbox-container:hover input~.checkmark {
  border-color: var(--accent-light);
}

.checkbox-container input:checked~.checkmark {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkmark::after {
  display: block;
}

.checkbox-container .checkmark::after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked~.check-text {
  color: var(--text-primary);
  font-weight: 500;
}

.error-text {
  color: #ef4444;
  font-size: 0.78rem;
  margin-top: 2px;
}

/* Dynamic price breakdown block */
.price-summary-box {
  background: var(--accent-glow);
  border: 1.5px dashed var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slideIn 0.3s ease;
}

.price-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.price-summary-label {
  color: var(--text-secondary);
}

.price-summary-val {
  font-weight: 600;
  color: var(--text-primary);
}

.highlighted-total .price-summary-val {
  font-size: 1.18rem;
  font-weight: 700;
}

.price-summary-divider {
  height: 1px;
  background: rgba(247, 147, 26, 0.2);
  margin: 4px 0;
}

.summary-remarks-text {
  font-size: 0.76rem;
  color: var(--text-tertiary);
  margin-top: 4px;
  line-height: 1.4;
}

/* Preview Divider */
.preview-divider {
  border: 0;
  height: 1px;
  background: var(--accent);
  opacity: 0.3;
  margin: var(--space-xl) 0 var(--space-xl);
}

/* Message Preview Box */
.message-preview-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: 0;
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.message-preview-header {
  background: var(--bg-tertiary);
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.message-preview-content {
  padding: 16px;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  white-space: pre-wrap;
  word-break: break-all;
  overflow-wrap: anywhere;
  user-select: none;
  pointer-events: none;
  line-height: 1.6;
}

.message-preview-content.active {
  color: var(--text-primary);
}

/* Form Actions Row */
.form-actions-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#form-copy-btn, #form-messenger-btn {
  height: 52px;
  font-weight: 600;
  gap: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#form-copy-btn:disabled, #form-messenger-btn:disabled {
  background: var(--border);
  color: var(--text-tertiary);
  border-color: transparent;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

#form-copy-btn:not(:disabled) {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}

#form-copy-btn:not(:disabled):hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* Form Step Header */
.form-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
  color: var(--accent);
}

.form-step-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

/* Premium Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  max-width: 420px;
  width: calc(100vw - 60px);
  transform: translateY(150px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  pointer-events: none;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-card {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .toast-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
}

.toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toast-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.toast-message {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.toast-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #10b981;
  width: 100%;
  transform-origin: left;
}

.toast-notification.active .toast-progress-bar {
  animation: shrink 1.5s linear forwards;
}

@keyframes shrink {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

/* Mobile Responsiveness for Form and Grid */
@media (max-width: 992px) {
  .form-wrapper-grid {
    grid-template-columns: 1fr;
  }

  .form-info-side {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: var(--space-2xl);
  }

  .form-inputs-side {
    padding: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .form-info-side,
  .form-inputs-side {
    padding: var(--space-lg); /* Add comfortable padding for mobile */
  }

  .calc-inputs {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .toast-notification {
    bottom: 20px;
    right: 20px;
    width: calc(100vw - 40px);
  }
}

/* Lightbox Styles */
.zoomable-image {
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--radius-md);
}

.zoomable-image:hover {
  transform: scale(1.02);
  box-shadow: 0 0 0 2px var(--accent);
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-overlay.active #lightbox-image {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  color: var(--accent);
  transform: scale(1.1);
}