body { max-width: 600px; padding: 0; margin: 0 auto; background-color: #f8f9fa; } .compare-hero { background: linear-gradient(135deg, #01a61c, #028a17); padding: 20px 5% 15px; border-bottom-right-radius: 20px; border-bottom-left-radius: 20px; position: relative; overflow: hidden; color: white; } .hero_area { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; } .hero-title { font-size: 16px; font-weight: 700; margin-bottom: 5px; text-align: center; } .hero-subtitle { font-size: 12px; text-align: center; line-height: 1.6; margin-bottom: 15px; opacity: 0.9; } .user-vehicles { background: rgba(255, 255, 255, 0.95); border-radius: 15px; padding: 15px; margin: 0 5% 15px; box-shadow: 0px 0px 3px rgb(0 0 0 / 6%); } .vehicles-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .vehicles-title { font-size: 12px; font-weight: 700; color: #34412d; } .add-vehicle-btn { background: #01a61c; color: white; border: none; padding: 8px 15px; border-radius: 20px; font-size: 11px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 5px; transition: all 0.3s ease; } .add-vehicle-btn:hover { background: #028a17; transform: translateY(-1px); } .vehicles-list { display: flex; flex-direction: column; gap: 10px; } .vehicle-card { background: #f8f9fa; border-radius: 12px; padding: 15px; border: 2px solid transparent; transition: all 0.3s ease; cursor: pointer; position: relative; } .vehicle-card:hover { border-color: #01a61c; transform: translateY(-2px); } .vehicle-card.selected { border-color: #01a61c; background: linear-gradient(135deg, #f8fff8, #ffffff); } .vehicle-info { display: flex; justify-content: space-between; align-items: center; } .vehicle-details { flex: 1; } .vehicle-name { font-size: 13px; font-weight: 700; color: #34412d; margin-bottom: 4px; } .vehicle-specs { font-size: 11px; color: #757575; } .vehicle-plate { background: #e8f5e8; color: #01a61c; padding: 4px 8px; border-radius: 6px; font-size: 10px; font-weight: 600; } .vehicle-actions { position: absolute; left: 10px; top: -5px; display: flex; gap: 5px; } .vehicle-action-btn { background: rgba(255, 255, 255, 0.9); border: none; width: 25px; height: 25px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; font-size: 12px; } .vehicle-action-btn:hover { background: white; transform: scale(1.1); } /* مودال افزودن خودرو */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: none; justify-content: center; align-items: center; z-index: 1000; padding: 20px; } .modal-content { background: white; border-radius: 20px; padding: 25px; width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; position: relative; } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #e0e0e0; } .modal-title { font-size: 13px; font-weight: 700; color: #34412d; } .modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: #757575; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; } .modal-close:hover { background: #f8f9fa; color: #e74c3c; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; } .form-group { margin-bottom: 15px; } .form-label { font-size: 11px; font-weight: 600; color: #34412d; margin-bottom: 5px; display: block; } .form-select, .form-input { width: 100%; padding: 12px 15px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 11px; background: white; transition: all 0.3s ease; } .form-select:focus, .form-input:focus { border-color: #01a61c; box-shadow: 0 0 0 2px rgba(1, 166, 28, 0.1); outline: none; } .modal-actions { display: flex; gap: 10px; margin-top: 25px; } .btn-primary { background: #01a61c; color: white; border: none; padding: 12px 25px; border-radius: 10px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; flex: 1; } .btn-primary:hover { background: #028a17; transform: translateY(-1px); } .btn-secondary { background: #f8f9fa; color: #34412d; border: 1px solid #e0e0e0; padding: 12px 25px; border-radius: 10px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; flex: 1; } .btn-secondary:hover { background: #e9ecef; border-color: #01a61c; } /* بخش‌های جدید */ .features-section { background: white; border-radius: 15px; padding: 20px; margin: 20px 5%; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .section-title { font-size: 12px; font-weight: 700; color: #34412d; } .section-link { font-size: 12px; color: #01a61c; text-decoration: none; font-weight: 600; } .features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; } .feature-card { background: #f8f9fa; border-radius: 12px; padding: 20px; text-align: center; transition: all 0.3s ease; border: 1px solid transparent; } .feature-card:hover { border-color: #01a61c; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } .feature-icon { width: 40px; height: 40px; margin: 0 auto 10px; background: #e8f5e8; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #01a61c; } .feature-title { font-size: 12px; font-weight: 700; color: #34412d; margin-bottom: 5px; } .feature-desc { font-size: 10px; color: #757575; line-height: 1.7; } .loan-conditions { background: linear-gradient(135deg, #fff3cd, #ffeaa7); border-radius: 15px; padding: 20px; margin: 20px 5%; border: 1px solid #ffeaa7; } .loan-header { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; } .loan-icon { width: 24px; height: 24px; color: #e67e22; } .loan-title { font-size: 14px; font-weight: 700; color: #e67e22; } .conditions-list { display: flex; flex-direction: column; gap: 8px; } .condition-item { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #d35400; } .condition-check { color: #27ae60; flex-shrink: 0; margin-top: 2px; } .faq-section { background: white; border-radius: 15px; padding: 20px; margin: 20px 5%; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); } .faq-item { border-bottom: 1px solid #f0f0f0; padding: 15px 0; } .faq-item:last-child { border-bottom: none; } .faq-question { font-size: 12px; font-weight: 600; color: #34412d; margin-bottom: 8px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; } .faq-answer { font-size: 12px; color: #757575; line-height: 2; display: none; } .faq-toggle { color: #01a61c; transition: transform 0.3s ease; } .consultation-banner { background: linear-gradient(135deg, #01a61c, #028a17); border-radius: 15px; padding: 25px 20px; margin: 20px 5%; color: white; text-align: center; position: relative; overflow: hidden; } .consultation-content { position: relative; z-index: 2; } .consultation-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; } .consultation-desc { font-size: 12px; margin-bottom: 15px; opacity: 0.9; } .consultation-btn { background: white; color: #01a61c; border: none; padding: 10px 25px; border-radius: 25px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .consultation-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3); } /* بقیه استایل‌ها مانند قبل */ .search-section, .comparison-tools, .results-section { background: rgba(255, 255, 255, 0.95); border-radius: 15px; padding: 20px; margin: 0 5% 15px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } .faq-category { margin-bottom: 25px; border: 1px solid #e8f5e8; border-radius: 12px; padding: 15px; background: #f8fff8; } .faq-category-title { font-size: 13px; font-weight: 700; color: #01a61c; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #e8f5e8; display: flex; align-items: center; gap: 8px; } .faq-item { border-bottom: 1px solid #e8f5e8; padding: 12px 0; } .faq-item:last-child { border-bottom: none; } .faq-question { font-size: 12px; font-weight: 600; color: #34412d; margin-bottom: 8px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; line-height: 1.5; padding: 8px 0; transition: all 0.3s ease; } .faq-question:hover { color: #01a61c; } .faq-answer { font-size: 11px; color: #5a6871; line-height: 2; display: none; padding: 10px 15px; background: white; border-radius: 8px; border-right: 3px solid #01a61c; margin-top: 5px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .faq-toggle { color: #01a61c; transition: transform 0.3s ease; flex-shrink: 0; margin-right: 5px; } /* استایل برای سوالات فعال */ .faq-item.active .faq-question { color: #01a61c; font-weight: 700; } .faq-item.active .faq-toggle { transform: rotate(180deg); } .faq-item.active .faq-answer { display: block; animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .active { border-style: none; }