/* Architect Request Wizard - Pixel Perfect Styling Matching Screenshot References */

:root {
  --arw-bg: #1e1e20;
  --arw-panel: #232325;
  --arw-control: #18181a;
  --arw-gold: #c9b067;
  --arw-gold-dark: #a8914b;
  --arw-text: #ffffff;
  --arw-muted: #88888d;
  --arw-border: #2e2e32;
  --arw-overlay: rgba(0, 0, 0, 0.68);
  --arw-radius: 4px;
  --arw-transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.arw-wizard-wrapper {
  position: relative;
  width: 100%;
  min-height: 720px;
  background-color: var(--arw-bg);
  background-image: linear-gradient(var(--arw-overlay), var(--arw-overlay)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--arw-text);
  direction: ltr;
}

.arw-wizard-wrapper.arw-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  min-height: 100vh;
}

.arw-wizard-card {
  position: relative;
  width: 780px;
  max-width: 92vw;
  min-height: 540px;
  background: rgba(35, 35, 37, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--arw-radius);
  padding: 35px 45px 30px 45px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* Header & Logo centered at top */
.arw-card-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.arw-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arw-logo-icon {
  width: 22px;
  height: 22px;
  background: var(--arw-gold);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 50%, 50% 100%, 0 100%);
  display: inline-block;
}

.arw-brand-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--arw-text);
  text-transform: lowercase;
}

/* Step Fade Animation */
.arw-step {
  display: none;
  animation: arwFadeIn 200ms ease forwards;
}

.arw-step.arw-step-active {
  display: block;
}

@keyframes arwFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.arw-question-title {
  font-size: 26px;
  font-weight: 400;
  color: #f0f0f0;
  margin: 0 0 25px 0;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.arw-sub-title {
  font-size: 13px;
  color: var(--arw-muted);
  margin: -15px 0 25px 0;
}

/* Options Grid */
.arw-options-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.arw-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.arw-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.arw-option-btn {
  background: #19191b;
  border: 1px solid #2d2d30;
  color: #e0e0e0;
  padding: 0 24px;
  height: 62px;
  font-size: 15px;
  font-weight: 400;
  border-radius: var(--arw-radius);
  cursor: pointer;
  transition: all var(--arw-transition);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  box-sizing: border-box;
}

.arw-option-btn:hover {
  border-color: var(--arw-gold);
  background: #202023;
  color: #ffffff;
}

.arw-option-btn.arw-selected {
  border-color: var(--arw-gold);
  background: rgba(201, 176, 103, 0.08);
  color: #ffffff;
  position: relative;
  box-shadow: inset 0 0 0 1px var(--arw-gold);
}

.arw-option-btn.arw-selected::after {
  content: '✓';
  position: absolute;
  right: 20px;
  color: var(--arw-gold);
  font-weight: bold;
}

/* Area Box - Step 2 */
.arw-area-input-wrapper {
  background: #19191b;
  border: 1px solid #2d2d30;
  border-radius: var(--arw-radius);
  padding: 30px;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.arw-area-input-inner {
  display: flex;
  align-items: center;
  width: 100%;
  background: #141416;
  border: 1px solid #333336;
  border-radius: 4px;
  padding: 12px 20px;
}

.arw-input-area {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 20px;
  width: 100%;
  outline: none;
}

.arw-unit-tag {
  color: #888888;
  font-size: 16px;
  margin-left: 10px;
}

/* Interior Styles Image Cards */
.arw-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.arw-image-card {
  position: relative;
  height: 135px;
  border-radius: var(--arw-radius);
  border: 1px solid #2d2d30;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--arw-transition);
}

.arw-card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 300ms ease;
}

.arw-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%);
  transition: background var(--arw-transition);
}

.arw-image-card:hover .arw-card-bg {
  transform: scale(1.04);
}

.arw-image-card.arw-selected {
  border-color: var(--arw-gold);
  box-shadow: 0 0 0 2px var(--arw-gold);
}

.arw-card-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

/* Drag & Drop Zone */
.arw-dropzone {
  border: 2px dashed #3a3a3e;
  background: #19191b;
  border-radius: var(--arw-radius);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--arw-transition);
  position: relative;
}

.arw-dropzone:hover, .arw-dropzone.arw-dragover {
  border-color: var(--arw-gold);
}

.arw-hidden-file {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.arw-upload-icon {
  font-size: 28px;
  color: var(--arw-gold);
  display: block;
  margin-bottom: 6px;
}

/* SLEEK DARK CONTACT FORM INPUTS (Matching Reference Image 2) */
.arw-form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.arw-input {
  width: 100%;
  background: #18181a !important;
  border: 1px solid #2e2e32 !important;
  color: #ffffff !important;
  padding: 14px 16px !important;
  font-size: 14px !important;
  border-radius: 3px !important;
  box-sizing: border-box;
  outline: none;
  transition: border-color var(--arw-transition);
}

.arw-input::placeholder {
  color: #66666d !important;
}

.arw-input:focus {
  border-color: var(--arw-gold) !important;
  background: #1e1e22 !important;
}

.arw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.arw-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #88888d;
  margin-bottom: 6px;
  letter-spacing: 0.8px;
}

.arw-radio-group {
  display: flex;
  gap: 25px;
  margin-top: 6px;
}

.arw-radio-group label {
  font-size: 13px;
  color: #d0d0d5;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.arw-radio-group input[type="radio"] {
  accent-color: var(--arw-gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Submit Section inside Form Step 8 */
.arw-submit-section {
  margin-top: 15px;
  text-align: center;
}

.arw-btn-calc {
  width: 100%;
  height: 52px;
  background: #18181a;
  border: 1px solid #3d3d42;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--arw-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arw-btn-calc:hover {
  border-color: var(--arw-gold);
  color: var(--arw-gold);
  background: #202024;
}

.arw-discount-notice {
  font-size: 12px;
  color: var(--arw-gold);
  margin-top: 10px;
  display: block;
}

/* Footer Navigation Bar */
.arw-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.arw-progress-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.arw-step-indicator {
  font-size: 13px;
  color: #88888d;
  white-space: nowrap;
}

.arw-progress-bar {
  width: 140px;
  height: 3px;
  background: #333336;
  border-radius: 2px;
  overflow: hidden;
}

.arw-progress-fill {
  height: 100%;
  background: var(--arw-gold);
  transition: width 250ms ease;
}

.arw-nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arw-btn-back {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #28282b;
  border: none;
  color: #e0e0e0;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--arw-transition);
}

.arw-btn-back:hover {
  background: #333338;
  color: #ffffff;
}

.arw-btn-next {
  height: 38px;
  padding: 0 22px;
  background: var(--arw-gold);
  border: none;
  color: #111111;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  border-radius: var(--arw-radius);
  cursor: pointer;
  transition: background var(--arw-transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.arw-btn-next:hover {
  background: var(--arw-gold-dark);
  color: #ffffff;
}

/* Bottom Floating Badge */
.arw-footer-badge {
  text-align: center;
  margin-top: 20px;
}

.arw-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  color: #88888d;
}

.arw-badge-check {
  width: 14px;
  height: 14px;
  background: var(--arw-gold);
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: bold;
}

.arw-hidden {
  display: none !important;
}

/* Success Screen */
.arw-success-container {
  text-align: center;
  padding: 20px 0;
}

.arw-success-check-icon {
  width: 60px;
  height: 60px;
  background: var(--arw-gold);
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 15px auto;
}

.arw-success-title {
  font-size: 32px;
  color: var(--arw-text);
  margin-bottom: 10px;
}

.arw-ref-card {
  background: #18181a;
  border: 1px solid var(--arw-gold);
  padding: 12px 20px;
  border-radius: var(--arw-radius);
  display: inline-block;
  margin: 15px 0;
}

.arw-ref-card strong {
  display: block;
  font-size: 20px;
  color: var(--arw-gold);
  letter-spacing: 2px;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .arw-wizard-card {
    width: 95vw;
    padding: 25px;
  }
  .arw-grid-3, .arw-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arw-question-title {
    font-size: 22px;
  }
}

@media (max-width: 580px) {
  .arw-footer-nav {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .arw-progress-wrap {
    width: 100%;
    justify-content: space-between;
  }
  .arw-progress-bar {
    flex-grow: 1;
    max-width: 180px;
  }
  .arw-nav-buttons {
    width: 100%;
    justify-content: space-between;
  }
  .arw-btn-next {
    flex-grow: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .arw-grid-3, .arw-grid-2, .arw-cards-grid, .arw-form-row {
    grid-template-columns: 1fr;
  }
}

/* RTL Layout Styles */
.arw-wizard-wrapper.arw-rtl {
  direction: rtl;
}

.arw-wizard-wrapper.arw-rtl .arw-question-title,
.arw-wizard-wrapper.arw-rtl .arw-sub-title,
.arw-wizard-wrapper.arw-rtl .arw-form-group label {
  text-align: right;
}

.arw-wizard-wrapper.arw-rtl .arw-radio-group {
  justify-content: flex-start;
  gap: 20px;
}

.arw-wizard-wrapper.arw-rtl .arw-nav-buttons {
  flex-direction: row-reverse;
}

/* Premium Style Cards Grid & Overlays */
.arw-style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.arw-option-btn.arw-style-card-btn {
  height: 180px;
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.arw-option-btn.arw-style-card-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.arw-option-btn.arw-style-card-btn:hover {
  transform: translateY(-4px);
  border-color: #bca86a;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.arw-option-btn.arw-style-card-btn:hover::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%);
}

/* Checked/Selected State */
.arw-option-btn.arw-style-card-btn.arw-selected {
  border-color: #bca86a !important;
  outline: 2px solid #bca86a !important;
  box-shadow: 0 0 20px rgba(188, 168, 106, 0.4) !important;
}

.arw-style-card-label {
  position: relative;
  z-index: 2;
  background: rgba(23, 23, 23, 0.8);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  margin: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-transform: capitalize;
}

.arw-option-btn.arw-style-card-btn.arw-selected .arw-style-card-label {
  background: #bca86a;
  color: #000;
  font-weight: 600;
  border-color: transparent;
}

@media (max-width: 580px) {
  .arw-style-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .arw-option-btn.arw-style-card-btn {
    height: 140px;
  }
  .arw-style-card-label {
    font-size: 0.85rem;
    padding: 4px 10px;
    margin: 8px;
  }
}

@media (max-width: 380px) {
  .arw-style-grid {
    grid-template-columns: 1fr;
  }
}

