/* Quote Page Styles */
.main-content {
    padding: 20px 0;
    background-color: var(--light-blue);
    min-height: calc(100vh - 400px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 面包屑导航样式 */
.breadcrumb {
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-red);
    transform: translateX(2px);
}

.breadcrumb i {
    margin: 0 10px;
    color: var(--gray);
    font-size: 12px;
}

.breadcrumb span {
    color: var(--black);
}

/* Quote Section */
.quote-section {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.section-description {
    color: #666;
    margin-bottom: 30px;
}

/* Form Styles */
.quote-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 30px;
}

.form-group h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

/* Parts Table */
.parts-table {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 20px;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 40px;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: bold;
}

.table-header .col {
    color: #333;
}

.part-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 40px;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

.part-row:last-child {
    border-bottom: none;
}

.part-row input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn-add-part {
    background: #fff;
    border: 2px dashed #007bff;
    color: #007bff;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-add-part:hover {
    background: #f8f9fa;
}

.delete-part {
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Form */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-field input,
.form-field textarea,
.form-field select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
}

.form-field select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.required {
    color: #dc3545;
    margin-left: 4px;
}

.date-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    background: #fff;
}

.date-input span {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

.date-input input {
    border: none;
    padding: 10px 35px 10px 0;
    font-size: 14px;
    flex: 1;
    min-width: 0;
    background: transparent;
}

.date-input input:focus {
    outline: none;
}

.date-input i {
    position: absolute;
    right: 10px;
    color: #666;
    font-size: 16px;
    cursor: pointer;
}

/* Datepicker Styles */
.ui-datepicker {
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 14px;
    display: none;
}

.ui-datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
    padding: 5px;
    color: #666;
}

.ui-datepicker-title {
    text-align: center;
    font-weight: bold;
}

.ui-datepicker-calendar {
    width: 100%;
    border-collapse: collapse;
}

.ui-datepicker-calendar th {
    padding: 5px;
    text-align: center;
    color: #666;
}

.ui-datepicker-calendar td {
    padding: 0;
}

.ui-datepicker-calendar td a {
    display: block;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.ui-datepicker-calendar td a:hover {
    background: #f0f0f0;
}

.ui-datepicker-calendar .ui-state-active {
    background: #007bff;
    color: #fff;
}

.ui-datepicker-calendar .ui-state-disabled {
    color: #ccc;
}

/* Submit Button */
.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .quote-section {
        padding: 20px;
    }

    .table-header,
    .part-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .table-header {
        display: none;
    }

    .part-row {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Input with Icon */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 10px;
    color: #666;
    font-size: 16px;
}

.input-with-icon input {
    padding-left: 35px;
    width: 100%;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
    position: relative;
    flex: 1;
    text-align: center;
    justify-content: center;
}

.step i {
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    color: #666;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step.active i {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.step span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1200px) {
    .process-steps {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .step {
        flex: 0 0 auto;
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        padding: 15px;
    }

    .step {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Tips Section */
.tips-section {
    margin: 20px 0 30px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #007bff;
}

.tips-section h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.tips-section ol {
    margin: 0;
    padding-left: 20px;
}

.tips-section li {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.tips-section li:last-child {
    margin-bottom: 0;
}

.tips-section a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tips-section a:hover {
    color: #0056b3;
    text-decoration: underline;
} 