/* assets/trade-in-style.css */
body.page-template-page-trade-in { margin: 0; padding: 0; background: #f5f5f5; min-height: 100vh; font-family: 'Arial', sans-serif; position: relative; }
.tradein-wrapper { display: flex; align-items: stretch; gap: 30px; max-width: 1200px; width: 100%; margin: 80px auto 40px; padding: 0 20px; box-sizing: border-box; }
.form-container-wrapper { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.form-container { flex: 1; background: white; padding: 40px; border-radius: 8px; box-shadow: 0 2px 15px rgba(0,0,0,0.08); display: flex; flex-direction: column; height: 100%; }
.form-header { display: flex; justify-content: space-between; margin-bottom: 25px; }
.form-header span { font-weight: bold; color: #333; font-size: 18px; padding-bottom: 5px; }
.form-header span.active { border-bottom: 2px solid #BF8F3F; }
.progress-bar { height: 6px; background: #eee; border-radius: 3px; margin-bottom: 25px; overflow: hidden; }
.progress { height: 100%; width: 50%; background: #BF8F3F; transition: width 0.4s; }
.form-group { display: flex; gap: 12px; margin-bottom: 20px; }
.form-group.half > * { width: 50%; }
.form-group input, .form-group select { padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; width: 100%; font-size: 15px; box-sizing: border-box; transition: border 0.3s; }
.form-group input:focus, .form-group select:focus { border-color: #BF8F3F; outline: none; }
.form-navigation { margin-top: auto; padding-top: 20px; }
.btn { background-color: #BF8F3F; color: white; border: none; padding: 14px; border-radius: 6px; cursor: pointer; font-size: 16px; font-weight: 600; transition: background 0.3s; text-align: center; width: 100%; display: block; }
.btn:hover { background-color: #a67832; }
.help-container { flex: 1; min-width: 0; display: flex; flex-direction: column; background: white; padding: 40px; border-radius: 8px; box-shadow: 0 2px 15px rgba(0,0,0,0.08); }
.help-title { font-size: 26px; color: #333; margin-bottom: 25px; text-align: center; font-weight: 600; }
.help-content { text-align: center; margin-bottom: 30px; color: #555; line-height: 1.6; flex-grow: 1; }
.contact-info { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 30px; font-size: 20px; color: #BF8F3F; font-weight: 700; }
.call-button { background-color: #BF8F3F; color: white; border: none; padding: 14px; border-radius: 6px; cursor: pointer; font-size: 16px; text-align: center; text-decoration: none; width: 100%; max-width: 220px; margin: 0 auto; font-weight: 600; transition: background 0.3s; display: block; }
.call-button:hover { background-color: #a67832; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 1000; align-items: center; justify-content: center; }
.modal-content { background: white; border-radius: 10px; box-shadow: 0 5px 25px rgba(0,0,0,0.3); max-width: 800px; width: 90%; max-height: 90vh; overflow-y: auto; padding: 30px; position: relative; animation: modalFade 0.3s ease-out; }
@keyframes modalFade { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
.close-modal { position: absolute; top: 15px; right: 15px; font-size: 24px; color: #777; background: none; border: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.close-modal:hover { color: #333; }
.modal-header { text-align: center; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.modal-header h2 { color: #333; margin: 0; }
.step2-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-row { grid-column: span 2; }
.form-row.half { grid-column: span 1; }
.step2-form label { display: block; margin-bottom: 8px; font-weight: 600; color: #555; }
.step2-form input, .step2-form select, .step2-form textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 15px; box-sizing: border-box; }
.step2-form textarea { min-height: 120px; resize: vertical; }
.step2-form .full-row { grid-column: span 2; }
.modal-actions { display: flex; gap: 15px; margin-top: 30px; grid-column: span 2; }
.modal-actions .btn { flex: 1; }
.btn-outline { background: transparent; border: 2px solid #BF8F3F; color: #BF8F3F; }
.btn-outline:hover { background: rgba(191, 143, 63, 0.1); }
.document-upload-section { grid-column: span 2; margin: 20px 0; padding: 20px; background: #f9f9f9; border-radius: 8px; border: 1px dashed #ddd; }
.upload-title { text-align: center; margin-bottom: 15px; color: #333; font-weight: 600; }
.upload-instructions { text-align: center; color: #666; margin-bottom: 20px; font-size: 14px; }
.file-drop-area { border: 2px dashed #BF8F3F; border-radius: 8px; padding: 30px; text-align: center; transition: all 0.3s; cursor: pointer; background: #fff; }
.file-drop-area:hover, .file-drop-area.dragover { background: rgba(191, 143, 63, 0.05); }
.file-drop-area i { font-size: 40px; color: #BF8F3F; margin-bottom: 15px; }
.file-input { display: none; }
.file-msg { font-size: 16px; color: #666; margin-bottom: 15px; }
.browse-btn { display: inline-block; padding: 8px 16px; background: #BF8F3F; color: white; border-radius: 4px; cursor: pointer; transition: background 0.3s; }
.browse-btn:hover { background: #a67832; }
.file-list { margin-top: 20px; }
.file-item { display: flex; align-items: center; padding: 10px; background: white; border: 1px solid #eee; border-radius: 6px; margin-bottom: 10px; }
.file-icon { margin-right: 10px; color: #BF8F3F; }
.file-info { flex: 1; }
.file-name { font-weight: 500; margin-bottom: 5px; }
.file-size { color: #777; font-size: 12px; }
.file-remove { color: #ff6b6b; cursor: pointer; padding: 5px; }
.image-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.preview-item { position: relative; width: 100px; height: 100px; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-remove { position: absolute; top: 5px; right: 5px; background: rgba(255, 255, 255, 0.8); border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #ff6b6b; }
.dialog-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 1100; align-items: center; justify-content: center; }
.dialog-content { background: white; border-radius: 10px; box-shadow: 0 5px 25px rgba(0,0,0,0.3); max-width: 500px; width: 90%; padding: 30px; text-align: center; position: relative; animation: dialogScale 0.3s ease-out; }
@keyframes dialogScale { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.dialog-content h3 { margin-top: 0; color: #333; font-size: 24px; }
.dialog-icon { font-size: 60px; margin-bottom: 20px; }
.success-icon { color: #4CAF50; }
.error-icon { color: #F44336; }
.warning-icon { color: #FFC107; }
.dialog-message { color: #555; line-height: 1.6; margin-bottom: 25px; }
.dialog-actions { display: flex; gap: 15px; justify-content: center; }
.dialog-btn { padding: 10px 20px; border-radius: 6px; cursor: pointer; font-weight: 600; min-width: 100px; transition: all 0.3s; }
.dialog-btn.primary { background: #BF8F3F; color: white; border: none; }
.dialog-btn.primary:hover { background: #a67832; }
.dialog-btn.secondary { background: #f1f1f1; border: 1px solid #ddd; color: #333; }
.dialog-btn.secondary:hover { background: #e5e5e5; }
.notification { position: fixed; top: 20px; right: 20px; padding: 15px 25px; border-radius: 8px; color: white; z-index: 2000; display: flex; align-items: center; gap: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.2); transform: translateX(150%); transition: transform 0.4s ease-out; }
.notification.show { transform: translateX(0); }
.notification.success { background: #4CAF50; }
.notification.error { background: #F44336; }
.notification.warning { background: #FFC107; color: #333; }
.notification i { font-size: 20px; }
.compression-status { display: flex; flex-direction: column; align-items: center; padding: 20px; background: #f9f9f9; border-radius: 8px; margin-top: 20px; }
.progress-container { width: 100%; height: 10px; background: #e0e0e0; border-radius: 5px; margin: 10px 0; overflow: hidden; }
.compression-progress { height: 100%; background: #BF8F3F; width: 0; transition: width 0.3s ease; }
.status-text { font-size: 14px; color: #555; margin-top: 10px; }
@media (max-width: 992px) { .tradein-wrapper { gap: 20px; } .form-container, .help-container { padding: 30px; } }
@media (max-width: 768px) { .tradein-wrapper { flex-direction: column; margin: 40px auto; padding: 0 15px; } .form-group { flex-wrap: wrap; } .form-group.half > * { width: 100%; } .form-header span { font-size: 16px; } .help-title { font-size: 22px; } .contact-info { font-size: 18px; } .step2-form { grid-template-columns: 1fr; } .form-row.half, .full-row { grid-column: span 1; } }
@media (max-width: 480px) { .modal-actions, .dialog-actions { flex-direction: column; } .btn, .dialog-btn { width: 100%; } .notification { left: 10px; right: 10px; top: 10px; } .preview-item { width: 80px; height: 80px; } }