/* Enhanced Multi-Step Form Styling - Clean & Minimal */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #f39c12;
  --accent-color: #3498db;
  --success-color: #27ae60;
  --error-color: #e74c3c;
  --light-bg: #f8f9fa;
  --dark-bg: #2c3e50;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --text-muted: #7f8c8d;
  --border-color: #e1e8ed;
  --border-radius: 6px;
  --border-radius-lg: 12px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --box-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --yellow-hover: #e67e22;
  --yellow-light: rgba(243, 156, 18, 0.1);
}

/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--light-bg);
  font-size: 14px;
}

/* Main Layout */
.split-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Left Side - Image/Branding */
.image-side {
  flex: 0 0 45%;
  background: url('/custom_project_form/static/image/form-side.jpg');
  position: relative;
  background-repeat: no-repeat; 
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-overlay {
  text-align: center;
  color: white;
  padding: 40px;
  max-width: 400px;
}

.brand-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 32px;
  opacity: 0.9;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.feature-item i {
  color: var(--secondary-color);
  font-size: 16px;
  width: 16px;
}

/* Right Side - Form */
.form-side {
  flex: 1;
  padding: 32px 5%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: white;
  overflow-y: auto;
}

.project-form-container {
  width: 100%;
  max-width: 600px;
}

/* Progress Bar - Simplified */
.progress-container {
  margin-bottom: 32px;
  padding: 0 16px;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 24px;
  align-items: center;
  flex-direction: row;
}

.progress-line {
  position: absolute;
  top: 16px;
  left: 32px;
  right: 32px;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.progress-line-active {
  height: 100%;
  background: var(--secondary-color);
  transition: width 0.6s ease;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  background: white;
  padding: 0 8px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  transition: var(--transition);
}

.step-label {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
  white-space: nowrap;
}

.progress-step.active .step-number {
  background: var(--secondary-color);
  color: white;
}

.progress-step.active .step-label {
  color: var(--secondary-color);
  font-weight: 600;
}

.progress-step.completed .step-number {
  background: var(--success-color);
  color: white;
}

.progress-step.completed .step-label {
  color: var(--success-color);
}

/* Form Header - Minimal */
.form-header {
  background: var(--primary-color);
  color: white;
  padding: 24px;
  border-radius: var(--border-radius-lg);
  margin-bottom: 32px;
  text-align: center;
}

.header-icon {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-subtitle {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.9;
  margin: 0;
}

/* Step Content */
.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.step-title {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

/* Form Sections - Minimal Icons */
.section-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 16px;
}

/* Option Grid - Clean Yellow */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.option-card {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100px;
  justify-content: center;
}

.option-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.option-icon i {
  font-size: 24px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: var(--transition);
}

.option-label {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 14px;
}

.btn-check:checked + .option-card {
  border-color: var(--secondary-color);
  background: var(--yellow-light);
  box-shadow: var(--box-shadow);
}

.btn-check:checked + .option-card .option-icon i {
  color: var(--secondary-color);
}

/* Room Grid - Simplified */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.room-card {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/* Select Drop down styling  */

/* Enhanced Select Dropdown Styling */
select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select.form-control:focus {
    background-color: white;
}

select.form-control option {
    padding: 8px 12px;
    background: white;
    color: #2c3e50;
}

select.form-control option:checked {
    background: #f39c12;
    color: white;
}

.room-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.room-card.selected {
  border-color: var(--secondary-color);
  background: var(--yellow-light);
  box-shadow: var(--box-shadow);
}

.room-icon i {
  font-size: 28px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: var(--transition);
}

.room-card.selected .room-icon i {
  color: var(--secondary-color);
}

.room-title {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 12px;
}

.room-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.room-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: var(--secondary-color);
  color: white;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-btn:hover {
  background: var(--yellow-hover);
  transform: scale(1.1);
}

.room-btn.minus:hover {
  background: var(--error-color);
}

.room-count {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-color);
  min-width: 24px;
  text-align: center;
  background: var(--yellow-light);
  padding: 4px 8px;
  border-radius: 4px;
}

/* Floor Planning - Minimal */
/* Multi-floor layout fixes */
.floors-container {
    margin-bottom: 24px;
}

.floors-container.multi-floor-layout {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.floor-box.multi-floor {
    flex: 1;
    min-width: 280px;
    max-width: calc(33.333% - 14px);
    min-height: 200px;
    border: 2px solid #e9ecdf;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floor-box.multi-floor:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #f39c12;
}

.floor-box.single-floor {
    width: 100%;
    max-width: 100%;
}

.floor-box {
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 20px;
  min-height: 120px;
  background: #fafbfc;
  transition: var(--transition);
}

.floor-box.drag-over {
  border-color: var(--secondary-color);
  background: var(--yellow-light);
}

.floor-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
  text-align: center;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.floor-indicator {
  background: var(--secondary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.floor-rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 60px;
}

.drop-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-muted);
  font-style: italic;
  font-size: 13px;
  opacity: 0.7;
}

.rooms-pool {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  background: white;
  box-shadow: var(--box-shadow);
}

.pool-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
  text-align: center;
  font-size: 14px;
}

.rooms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 60px;
}

.room-item {
    position: relative;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border-radius: 12px;
    padding: 16px;
    margin: 8px;
    cursor: grab;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    min-width: 250px;
    border: 2px solid transparent;
}

.room-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.room-item.dragging {
    opacity: 0.8;
    transform: rotate(5deg) scale(1.05);
    cursor: grabbing;
    z-index: 1000;
}

.room-delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(220, 53, 69, 0.9);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 12px;
}

.room-delete-btn:hover {
    background: #dc3545;
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.room-delete-btn i {
    font-size: 10px;
    font-weight: bold;
}

.room-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
}

.room-header i {
    color: white;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.room-name {
    font-weight: 600;
    color: white;
    flex: 1;
}

.room-area-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
}

.room-area-input:focus {
    outline: none;
    border-color: white;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.room-area-input::placeholder {
    color: #6c757d;
}

/* Form Elements - Clean */
.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-col {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-control {
  width: 100%;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  /* padding: 12px 16px; */
  font-size: 14px;
  font-weight: 400;
  transition: var(--transition);
  background: white;
  color: var(--text-dark);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px var(--yellow-light);
  outline: none;
}
/* 
.form-control:valid {
  border-color: var(--success-color);
} */

/* Remove number input spinners */
.no-spinner {
  -moz-appearance: textfield;
}

.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Step Navigation Buttons - Clean */
.step-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.next-btn, .prev-btn {
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  min-height: 44px;
}

.next-btn {
  background: var(--secondary-color);
  color: white;
  flex: 1;
}

.next-btn:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
  box-shadow: var(--box-shadow);
}

.prev-btn {
  background: var(--text-muted);
  color: white;
  flex: 0 0 auto;
}

.prev-btn:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: var(--box-shadow);
}

.submit-btn {
  background: var(--primary-color) !important;
  color: white !important;
}

.submit-btn:hover {
  background: #34495e !important;
}

/* Hidden elements */
.btn-check {
  display: none;
}

/* Single Floor Notice - Dark Theme */
.single-floor-notice {
  background: var(--primary-color);
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius);
  padding: 16px;
  margin-bottom: 24px;
}

.notice-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.notice-content i {
  color: var(--secondary-color);
  font-size: 18px;
}

.notice-text {
  font-size: 14px;
  font-weight: 400;
}

.notice-text strong {
  font-weight: 600;
}

/* Thank You Page Styles */
.thank-you-page-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
  padding: 32px 16px;
  position: relative;
}

.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 3s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.thank-you-container {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 48px 32px;
  box-shadow: var(--box-shadow-lg);
  text-align: center;
  position: relative;
  z-index: 2;
}

.success-animation {
  margin-bottom: 32px;
}

.success-icon {
  font-size: 64px;
  color: var(--success-color);
  animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

.congrats-title {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.congrats-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.project-name {
  color: var(--secondary-color);
  font-weight: 600;
}

.project-details {
  background: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid var(--border-color);
}

.details-title {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 14px;
}

.detail-value {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 14px;
}

.status-badge {
  background: var(--secondary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-info-section {
  margin-bottom: 32px;
}

.contact-info-title {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.contact-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-lg);
  text-decoration: none;
  color: inherit;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: white;
  font-size: 18px;
}

.contact-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.contact-text {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}

.action-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.action-btn {
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  min-height: 44px;
}

.btn-primary {
  background: var(--secondary-color);
  color: white;
}

.btn-secondary {
  background: var(--primary-color);
  color: white;
}

.action-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--box-shadow);
  text-decoration: none;
  color: inherit;
}

.btn-primary:hover {
  background: var(--yellow-hover);
  color: white;
}

.btn-secondary:hover {
  background: #34495e;
  color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
  .split-layout {
    flex-direction: column;
  }
  
  .image-side {
    flex: 0 0 240px;
    width: 100%;
  }
  
  .brand-title {
    font-size: 28px;
  }
  
  .brand-subtitle {
    font-size: 15px;
  }
  
  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .feature-item {
    flex: 0 0 calc(50% - 6px);
    justify-content: center;
  }
  
  .form-side {
    padding: 24px 5%;
  }
  
  .form-header {
    padding: 20px;
  }
  
  .form-title {
    font-size: 20px;
  }
  
  .step-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .image-side {
    flex: 0 0 200px;
  }
  
  .brand-title {
    font-size: 24px;
  }
  
  .brand-subtitle {
    font-size: 14px;
  }
  
  .feature-list {
    flex-direction: column;
    gap: 10px;
  }
  
  .feature-item {
    flex: none;
    font-size: 13px;
  }
  
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .next-btn, .prev-btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .step-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .progress-step {
    min-width: 70px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .step-label {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .image-side {
    flex: 0 0 160px;
  }
  
  .brand-title {
    font-size: 20px;
  }
  
  .option-grid {
    grid-template-columns: 1fr;
  }
  
  .room-grid {
    grid-template-columns: 1fr;
  }

  .form-header {
    padding: 16px;
  }
  
  .form-title {
    font-size: 18px;
  }

  .step-title {
    font-size: 16px;
  }

  .congrats-title {
    font-size: 24px;
  }

  .thank-you-container {
    padding: 32px 20px;
  }
}

/* Touch Improvements */
@media (hover: none) and (pointer: coarse) {
  .option-card,
  .room-card,
  .room-btn,
  .next-btn,
  .prev-btn,
  .action-btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .room-item {
    touch-action: none;
    min-height: 36px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .image-side,
  .step-buttons {
    display: none;
  }
  
  .split-layout {
    flex-direction: column;
  }
  
  .form-side {
    padding: 20px;
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Additional Utility Classes */
.text-center {
  text-align: center;
}

.text-yellow {
  color: var(--secondary-color);
}

.bg-yellow-light {
  background-color: var(--yellow-light);
}

.border-yellow {
  border-color: var(--secondary-color);
}

.shadow-yellow {
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles */
*:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.option-card:focus,
.room-card:focus,
.next-btn:focus,
.prev-btn:focus,
.action-btn:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --secondary-color: #ff6600;
    --text-dark: #000000;
    --text-muted: #666666;
    --border-color: #333333;
  }
  
  .option-card,
  .room-card,
  .floor-box {
    border-width: 3px;
  }
}


/* Design Type Image Styling  */
/* Design selector grid layout */
.design-selector-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Hide radio inputs */
.design-radio-input {
    display: none;
}

/* Image card basic styling */
.design-image-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 160px;
    text-align: center; /* Text ko center align karne ke liye */
}

/* Image wrapper - centered */
.design-image-wrapper {
    margin: 0;
    padding: 0;
    line-height: 0;
    display: flex;
    justify-content: center;
}

/* Image styling - larger and proper coverage */
.design-image {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

/* Label styling - perfectly centered */
.design-label {
    padding: 12px 0 8px 0;
    font-weight: 500;
    color: #333;
    text-align: center;
    width: 100%;
    display: block;
}

/* Hover state - subtle like project type boxes */
.design-image-card:hover .design-image {
    border: 2px solid #ffa500;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.2);
}

/* Selected state - similar to project type selected */
.design-radio-input:checked + .design-image-card .design-image {
    border: 2px solid #ffa500;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.25);
}