.sell-laptop-form-wrapper-351595d6 { font-family: inherit; max-width: 1000px; margin: 0 auto; background: transparent; width: 100%; box-sizing: border-box;}

/* Hide HTML5 Number Spinner up-down arrows */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* Top Nav Card & Listing Selection */
.top-nav-card { background: #fff; border-radius: 8px; padding: 25px 30px; text-align: center; margin-bottom: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); width: 100%; box-sizing: border-box;}
.top-nav-card h2.type-selection-heading { font-size: 26px; color: #1e293b; margin-bottom: 25px; font-weight: 700; position: relative; display: inline-block;}
.top-nav-card h2.type-selection-heading:before, .top-nav-card h2.type-selection-heading:after { content: ''; position: absolute; top: 50%; width: 30px; height: 1px; background: #cbd5e1;}
.top-nav-card h2.type-selection-heading:before { right: 100%; margin-right: 15px; }
.top-nav-card h2.type-selection-heading:after { left: 100%; margin-left: 15px; }

.top-nav-card .subtitle { color: #64748b; margin-bottom: 15px; font-size: 13px; }

.listing-type-container { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 15px; justify-content: center; }

.listing-type { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1/1; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #475569; text-decoration: none; transition: all 0.2s ease; cursor: pointer; position: relative; padding: 15px; box-sizing: border-box;}

/* Hover category coloring to blue */
.listing-type:hover {
    border-color: #3b82f6 !important;
    background-color: #f0f9ff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1) !important;
}
.listing-type:hover span {
    color: #3b82f6 !important;
}
.listing-type:hover .icon-wrapper {
    background-color: #3b82f6 !important;
    color: #fff !important;
}

.listing-type .icon-wrapper { width: 54px; height: 54px; border-radius: 50%; background: #f0f9ff; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: #3b82f6; transition: all 0.2s ease;}
.listing-type .icon-wrapper i { font-size: 24px; margin: 0; display: flex; align-items: center; justify-content: center;}
.listing-type .icon-wrapper svg { width: 24px; height: 24px; fill: currentColor; }

.listing-type span { font-size: 13px; font-weight: 500; text-align: center; line-height: 1.3; color: #1e293b; transition: color 0.2s;}

.listing-type-check { display: none; position: absolute; top: 10px; right: 10px; background: #3b82f6; color: white; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; align-items: center; justify-content: center; z-index: 2;}

.listing-type.active { border-color: #3b82f6; background-color: #f8fafc; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.08); }
.listing-type.active .listing-type-check { display: flex; }
.listing-type.active .icon-wrapper { background: transparent; }

/* Compact Inline Steps */
.steps-nav { display: flex; justify-content: center; align-items: center; gap: 8px; max-width: 700px; margin: 0 auto; flex-wrap: wrap;}
.step-indicator { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.step-icon-circle { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #cbd5e1; display: flex; justify-content: center; align-items: center; color: #cbd5e1; font-weight: 600; font-size: 12px; transition: all 0.3s; background: #fff; z-index: 2; position: relative; }
.step-text { font-size: 12px; color: #64748b; font-weight: 500; transition: color 0.3s; white-space: nowrap; }
.step-connector { width: 30px; height: 1px; background: #cbd5e1; }
.step-indicator.active .step-icon-circle { border-color: #3b82f6; color: #3b82f6; }
.step-indicator.active .step-text { color: #3b82f6; }
.step-indicator.completed .step-icon-circle { background-color: #3b82f6; border-color: #3b82f6; color: #fff; }
.step-indicator.completed .step-text { color: #1e293b; }

/* Form Sections */
.form-section { background: #fff; border-radius: 8px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); overflow: hidden; width: 100%; box-sizing: border-box;}
.section-header { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid #f1f5f9; }
.step-badge { width: 24px; height: 24px; background: #3b82f6; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 13px; }
.section-header h3 { margin: 0; font-size: 16px; color: #1e293b; font-weight: 600; }
.mandatory-note { padding: 15px 20px 0; color: #94a3b8; font-size: 12px; margin: 0; }

.section-body { padding: 20px; width: 100%; box-sizing: border-box;}
.section-body.with-sidebar { display: flex; gap: 25px; justify-content: space-between; }
.main-fields { flex: 1; max-width: 65%; width: 100%; box-sizing: border-box;}

/* Sidebar Hints */
.sidebar-hints { width: 320px; padding: 20px; background-color: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; flex-shrink: 0; box-sizing: border-box;}
.hint-item { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.hint-item:last-child { margin-bottom: 0; }
.hint-icon-box { width: 24px; height: 24px; background-color: transparent; display: flex; align-items: flex-start; justify-content: center; color: #3b82f6; flex-shrink: 0; }
.hint-icon-box i { font-size: 20px; margin:0; }
.hint-item p { margin: 0; font-size: 13px; color: #475569; line-height: 1.5; font-weight: 500; }
.hint-list { list-style: none; padding: 0; margin: 0; }
.hint-list li { display: flex; gap: 10px; font-size: 12px; color: #475569; margin-bottom: 12px; line-height: 1.4; font-weight: 500;}
.hint-list li i { color: #3b82f6; margin-top: 2px; font-size: 14px; }
.upload-hints { display: flex; align-items: center; }

/* Contact Sidebar specifically */
.contact-hint-sidebar { display: flex; align-items: center; gap: 15px; padding: 20px; box-sizing: border-box;}
.phone-illustration { width: 30px; height: 40px; display: flex; align-items: center; justify-content: center; color: #3b82f6; font-size: 28px; position: relative; border-radius: 6px; }

/* Form Rows & Inline Layout */
.form-row { margin-bottom: 15px; width: 100%; box-sizing: border-box; transition: padding 0.2s;}
.form-row.single-col.has-inline-label { display: flex; flex-direction: row; align-items: center; gap: 15px; width: 100%; }
.form-row.single-col.has-inline-label > label { width: 180px; flex-shrink: 0; margin: 0; font-weight: 500; color: #475569; font-size: 14px; text-align: left; display: flex; align-items: center; gap: 12px; }

.label-icon-wrapper { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background-color: rgba(59, 130, 246, 0.1); border-radius: 6px; color: #3b82f6; flex-shrink: 0;}
.label-icon-wrapper i { font-size: 16px; }

.form-row.single-col.has-inline-label > .field-container { flex: 1; display: flex; gap: 8px; width: 100%; max-width: 380px; box-sizing: border-box;}
.form-row.single-col.has-inline-label.align-top { align-items: flex-start; }
.form-row.single-col.has-inline-label.align-top > label { margin-top: 8px; }
.form-row.single-col .input-group { display: flex; gap: 8px; width: 100%; align-items: stretch; box-sizing: border-box;}
.form-row.single-col .input-group .select2-container { flex: 1; width: auto !important; min-width: 0;}

input[type="text"], input[type="number"], select, textarea { width: 100%; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 14px; color: #1e293b; background: #fff; transition: border-color 0.2s; height: 42px; box-sizing: border-box; max-width: 100%;}
textarea { height: auto; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #3b82f6; outline: none; }
input[readonly], input:disabled { background-color: #f8fafc; color: #94a3b8; border-color: #e2e8f0; }

.select2-container { width: 100% !important; max-width: 100%; display: block; box-sizing: border-box;}
.select2-container .select2-selection--single { height: 42px !important; border: 1px solid #cbd5e1 !important; border-radius: 6px !important; display: flex; align-items: center; width: 100%; box-sizing: border-box;}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 40px !important; padding-left: 12px !important; font-size: 14px; color: #1e293b !important; width: 100%; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis;}
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px !important; right: 8px !important; }

.use-location-btn { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 6px; width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #3b82f6; cursor: pointer; transition: background 0.2s; padding: 0; }
.use-location-btn:hover { background: #f1f5f9; }

/* Fixed Price Input Layout */
.price-input-wrapper { display: flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 6px; overflow: hidden; height: 42px; width: 100%; box-sizing: border-box; }
.price-input-wrapper .prefix { background: #f8fafc; padding: 0 12px; color: #64748b; font-size: 14px; font-weight: 500; border-right: 1px solid #cbd5e1; height: 100%; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.price-input-wrapper input { border: none; border-radius: 0; height: 100%; box-shadow: none; outline: none; width: 100%; padding: 0 12px; margin: 0; box-sizing: border-box; }
.price-input-wrapper:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1); }
.price-row .field-container { max-width: 380px; width: 100%; box-sizing: border-box;}

/* Contact Section & Alignment Fixes */
.input-with-icon { display: flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 6px; overflow: hidden; height: 42px; width: 100%; box-sizing: border-box; background: #fff; }
.input-with-icon:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1); }
.input-with-icon i { color: #94a3b8; font-size: 16px; padding: 0 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;}
.input-with-icon input { border: none; border-radius: 0; height: 100%; box-shadow: none; outline: none; width: 100%; padding: 0 12px 0 0; margin: 0; box-sizing: border-box; }
.contact-row { display: flex; align-items: flex-start; width: 100%; box-sizing: border-box;}
.contact-fields { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 380px; box-sizing: border-box;}

/* Checkbox Toggle Alignments */
.whatsapp-toggle { display: flex; align-items: center; margin-top: 4px; min-height: 20px; justify-content: space-between; width: 100%; box-sizing: border-box;}
.whatsapp-toggle span { display: flex; align-items: center; font-size: 13px; color: #475569; line-height: 1; }
.custom-checkbox { display: flex; align-items: center; position: relative; margin-left: 10px; cursor: pointer; user-select: none; flex-shrink: 0;}
.custom-checkbox input { opacity: 0; position: absolute; width: 0; height: 0; }
.checkmark { display: flex; align-items: center; justify-content: center; width: 40px; height: 22px; border-radius: 11px; border: 2px solid #cbd5e1; transition: all 0.2s; background: #e2e8f0; position: relative;}
.custom-checkbox input:checked ~ .checkmark { background-color: #3b82f6; border-color: #3b82f6; }
.checkmark:after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; background: white; border-radius: 50%; transition: all 0.2s; }
.custom-checkbox input:checked ~ .checkmark:after { transform: translateX(18px); }

/* Suggestions & Textarea */
.textarea-wrapper { display: flex; flex-direction: column; gap: 8px; width: 100%; box-sizing: border-box;}

/* Upload Area */
.file-input-hidden { display: none; }
.upload-gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 10px; width: 100%; box-sizing: border-box;}
.upload-item { aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; position: relative; border: 2px dashed #cbd5e1; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; min-height: 80px; box-sizing: border-box;}
.upload-item:hover { border-color: #3b82f6; }
.upload-item.main-upload { border: 2px dashed #3b82f6; background: #f0f9ff; }
.upload-item i { font-size: 20px; color: #94a3b8; transition: color 0.2s; }
.upload-item.main-upload i { color: #3b82f6; margin-bottom: 6px; font-size: 24px; }
.upload-text { font-size: 12px; color: #3b82f6; font-weight: 500; text-align: center; line-height: 1.2; padding: 0 4px; }

.upload-item.has-image { border: 1px solid #e2e8f0; cursor: default; }
.upload-item img { width: 100%; height: 100%; object-fit: cover; }
.remove-btn { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,0.6); color: #fff; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; cursor: pointer; transition: background 0.2s; z-index: 10; }
.remove-btn:hover { background: #ef4444; }
.cover-label { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(59, 130, 246, 0.9); color: #fff; font-size: 10px; text-align: center; padding: 4px 0; font-weight: 600; z-index: 5; }
.upload-progress-container { width: 100%; background: #e2e8f0; border-radius: 4px; height: 4px; margin-top: 10px; overflow: hidden; box-sizing: border-box;}
.upload-progress-bar { height: 100%; background: #3b82f6; width: 0%; transition: width 0.3s ease; }

/* Footer */
.form-footer { background: #fff; padding: 15px 20px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; width: 100%; box-sizing: border-box; flex-wrap: wrap; gap: 10px;}
.action-buttons .btn { padding: 10px 20px; border-radius: 4px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 8px; justify-content: center; box-sizing: border-box;}
.submit-btn, .preview-btn, .fb-share-btn { background: #3b82f6; color: #fff; border: none; }
.submit-btn:hover, .preview-btn:hover { background: #2563eb; }
.save-btn, .edit-btn, .post-another-btn, .view-ad-btn { background: transparent; color: #3b82f6; border: 1px solid #3b82f6; }
.save-btn:hover, .edit-btn:hover, .post-another-btn:hover, .view-ad-btn:hover { background: #f0f9ff; }
.fb-share-btn { background: #1877F2; color: #fff; border:none; }
.fb-share-btn:hover { background: #1664d9; color: #fff; }
.post-another-btn { background: #22c55e; color: white; border: none; }
.post-another-btn:hover { background: #16a34a; color: white;}

/* --- Polished Preview Table Styles --- */
.preview-notice-card { display: flex; align-items: center; gap: 15px; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; padding: 15px 20px; margin-bottom: 20px; width: 100%; box-sizing: border-box;}
.preview-notice-card i { font-size: 24px; color: #0284c7; flex-shrink: 0;}
.preview-notice-card .notice-text h4 { margin: 0 0 4px 0; color: #0369a1; font-size: 15px; }
.preview-notice-card .notice-text p { margin: 0; color: #0c4a6e; font-size: 13px; }

.preview-table-container { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; width: 100%; box-sizing: border-box;}
.preview-table { width: 100%; border-collapse: collapse; text-align: left; }
.preview-table tr { border-bottom: 1px solid #e2e8f0; }
.preview-table tr:last-child { border-bottom: none; }
.preview-table th { width: 35%; padding: 14px 20px; background: #f8fafc; color: #475569; font-weight: 600; font-size: 13px; vertical-align: top; border-right: 1px solid #e2e8f0; }
.preview-table td { padding: 14px 20px; color: #1e293b; font-size: 14px; vertical-align: top; }
.preview-table td strong.price-value { color: #22c55e; font-size: 18px; font-weight: 700; }
.preview-table td .desc-box { white-space: pre-wrap; background: #f8fafc; padding: 12px; border-radius: 6px; border: 1px solid #e2e8f0; font-size: 13px; line-height: 1.6; margin-top: 5px; }
.upload-gallery-grid.preview-mode .upload-item { cursor: default; border: 1px solid #e2e8f0; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

/* Thank You Screen Styles */
.thank-you-screen { background: #fff; border-radius: 12px; padding: 60px 50px; text-align: center; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05); margin: 0 auto; max-width: 800px; border: 1px solid #f1f5f9; position: relative; overflow: hidden; width: 100%; box-sizing: border-box;}
.confetti-decorations { position: absolute; top: 0; left: 0; width: 100%; height: 150px; pointer-events: none; z-index: 1; }
.confetti { position: absolute; font-size: 14px; opacity: 0.7; }
.c1 { top: 40px; left: 35%; color: #4ade80; font-size: 10px;}
.c2 { top: 60px; left: 32%; color: #fbbf24; }
.c3 { top: 25px; left: 60%; color: #fbbf24; font-size: 12px;}
.c4 { top: 55px; left: 63%; color: #4ade80; font-size: 10px;}
.c5 { top: 90px; left: 36%; color: #a3e635; }
.c6 { top: 85px; left: 64%; color: #4ade80; font-size: 16px; transform: rotate(45deg);}
.success-icon-wrapper { width: 100px; height: 100px; background-color: #4ade80; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; box-shadow: 0 0 0 12px rgba(74, 222, 128, 0.15); position: relative; z-index: 2;}
.success-icon-wrapper i { font-size: 45px; color: white; }
.thank-you-screen h2 { color: #1e293b; font-size: 32px; margin-bottom: 12px; font-weight: 700; position: relative; z-index: 2;}
.thank-you-screen .live-text { color: #22c55e; }
.thank-you-screen .subtitle { color: #475569; margin-bottom: 35px; font-size: 16px; line-height: 1.6; position: relative; z-index: 2;}
.stats-row { display: flex; justify-content: space-between; align-items: center; background: #f8fafc; border-radius: 8px; padding: 25px 20px; margin-bottom: 35px; border: 1px solid #f1f5f9; width: 100%; box-sizing: border-box;}
.stat-item { display: flex; align-items: center; gap: 16px; text-align: left; flex: 1; padding: 0 15px;}
.stat-divider { width: 1px; height: 40px; background-color: #e2e8f0; }
.stat-icon-wrap { width: 45px; height: 45px; border-radius: 50%; background: #e0f2fe; display: flex; align-items: center; justify-content: center; flex-shrink:0; }
.stat-icon { color: #0284c7; font-size: 18px; }
.stat-item:nth-child(3) .stat-icon-wrap { background: #dcfce7; }
.stat-item:nth-child(3) .stat-icon { color: #16a34a; }
.stat-item:nth-child(5) .stat-icon-wrap { background: #f1f5f9; }
.stat-item:nth-child(5) .stat-icon { color: #64748b; }
.stat-text strong { display: block; font-size: 15px; color: #0f172a; margin-bottom: 4px; font-weight: 600; }
.stat-text span { font-size: 13px; color: #64748b; line-height: 1.4; display:block; }
.action-buttons-row { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; width: 100%; box-sizing: border-box;}
.action-buttons-row .btn { padding: 14px 24px; font-size: 15px; flex: 1; min-width: 200px; max-width: none; justify-content: center; border-radius: 6px; font-weight: 600; box-sizing: border-box;}

/* Robust Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .sell-laptop-form-wrapper-351595d6 { padding: 0; }
    
    .section-body { padding: 15px; }
    .section-body.with-sidebar { flex-direction: column; padding: 15px; gap: 20px;}
    
    .main-fields { max-width: 100%; width: 100%; }
    .sidebar-hints { width: 100%; max-width: 100%; margin-top: 0; }
    
    .form-row.single-col.has-inline-label { flex-direction: column; align-items: flex-start; gap: 8px; }
    .form-row.single-col.has-inline-label > label { width: 100%; text-align: left; margin-bottom: 2px;}
    .form-row.single-col.has-inline-label > .field-container { max-width: 100%; width: 100%; }
    
    .steps-nav { flex-direction: row; flex-wrap: wrap; gap: 10px; justify-content: center;}
    .step-connector { display: none; }
    .step-indicator { background: #f8fafc; padding: 6px 12px; border-radius: 20px; border: 1px solid #e2e8f0;}
    .step-indicator.active { border-color: #3b82f6; background: #eff6ff;}
    
    .upload-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px;}
    
    .whatsapp-toggle { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; margin-top: 8px;}
    
    .preview-table, .preview-table tbody, .preview-table tr, .preview-table th, .preview-table td { display: block; width: 100%; box-sizing: border-box;}
    .preview-table tr { margin-bottom: 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden;}
    .preview-table th { border-right: none; border-bottom: 1px solid #e2e8f0; padding: 10px 15px; background: #f1f5f9; }
    .preview-table td { padding: 10px 15px; border-bottom: none; background: #fff;}
    
    .stats-row { flex-direction: column; gap: 15px; align-items: stretch; padding: 20px; }
    .stat-divider { display: none; }
    .stat-item { width: 100%; padding: 10px; background: #fff; border-radius: 8px; border: 1px solid #f1f5f9; box-sizing: border-box;}
    
    .form-footer { flex-direction: column-reverse; gap: 15px; }
    .form-footer .btn { width: 100%; justify-content: center; }
    
    .action-buttons-row { flex-direction: column; }
    .action-buttons-row .btn { width: 100%; max-width: 100%; }
    
    .thank-you-screen { padding: 30px 20px; }
    .thank-you-screen h2 { font-size: 26px; }

    .listing-type-container { grid-template-columns: repeat(3, 1fr); }
    .top-nav-card h2.type-selection-heading:before, .top-nav-card h2.type-selection-heading:after { display: none; }
}

@media screen and (max-width: 480px) {
    .listing-type-container { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .listing-type { padding: 15px 5px; }
    .upload-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .section-header h3 { font-size: 15px; }
    .step-indicator .step-text { font-size: 11px; }
    .form-footer .btn { padding: 12px; font-size: 15px;}
}
