/* Custom Stylesheet for Quote Online Module */

.quote-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.quote-intro {
    margin-bottom: 40px;
}
.quote-intro .intro-p1 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}
.quote-intro .intro-p2 {
    font-size: 16px;
    color: #7f8c8d;
}

/* Tabs / Cards style */
.quote-tabs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}
.quote-tab {
    flex: 1;
    max-width: 320px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}
.quote-tab-icon {
    font-size: 36px;
    color: #c61b1b;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}
.quote-tab-title {
    font-size: 14px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.quote-tab-desc {
    font-size: 12px;
    color: #718096;
}

/* Active tab style */
.quote-tab.active {
    background-color: #c61b1b;
    border-color: #c61b1b;
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(198, 27, 27, 0.3), 0 4px 6px -2px rgba(198, 27, 27, 0.1);
}
.quote-tab.active .quote-tab-icon,
.quote-tab.active .quote-tab-title,
.quote-tab.active .quote-tab-desc {
    color: #fff !important;
}

/* Layout containers */
#quote-form-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
    transition: max-width 0.4s ease;
}

#quote-form-wrapper.layout-two-columns {
    display: flex;
    max-width: 1200px;
}

.quote-form-container {
    flex: 1;
    padding: 40px;
}

.quote-image-container {
    width: 45%;
    display: flex;
    align-items: stretch;
    background-color: #eee;
    overflow: hidden;
}
.quote-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form Groups & Styling */
.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #c61b1b;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin-top: 30px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.section-title:first-of-type {
    margin-top: 0;
}

.sub-label {
    font-weight: bold;
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 6px;
}
.form-group label .required {
    color: #e53e3e;
}

.form-control {
    width: 100%;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    color: #2d3748;
    background-color: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.form-control:focus {
    border-color: #c61b1b;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(198, 27, 27, 0.1);
}

/* Grids */
.row-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.row-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.estimated-value-wrap {
    display: flex;
}

/* Options / Checkbox style */
.options-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.option-check {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
}
.option-check input {
    margin-right: 8px;
}

/* Dropzone styling */
.drop-zone {
    border: 2px dashed #cbd5e0;
    background-color: #f7fafc;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.drop-zone:hover, .drop-zone.dragover {
    border-color: #c61b1b;
    background-color: rgba(198, 27, 27, 0.02);
}
.drop-zone-icon {
    font-size: 32px;
    color: #a0aec0;
    margin-bottom: 8px;
}
.drop-zone-text {
    font-size: 14px;
    color: #4a5568;
}
.drop-zone-text .browse-link {
    color: #c61b1b;
    text-decoration: underline;
    font-weight: 600;
}
.file-rules {
    font-size: 12px;
    color: #718096;
    margin-top: 6px;
}
.file-list-preview {
    margin-top: 15px;
    text-align: left;
}
.file-preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #edf2f7;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 6px;
}
.file-preview-item .remove-file-btn {
    color: #e53e3e;
    cursor: pointer;
    font-weight: bold;
}

/* Submit button */
.btn-submit-quote {
    background-color: #c61b1b;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(198, 27, 27, 0.2);
}
.btn-submit-quote:hover {
    background-color: #a31212;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(198, 27, 27, 0.3);
}

/* Response message */
.quote-message {
    margin-bottom: 20px;
}
.quote-message .alert {
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
}
.quote-message .alert-success {
    background-color: #c6f6d5;
    color: #22543d;
    border: 1px solid #c6f6d5;
}
.quote-message .alert-danger {
    background-color: #fed7d7;
    color: #742a2a;
    border: 1px solid #fed7d7;
}

/* Partner Carousel Section */
.partner-logos-container {
    margin-top: 60px;
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
}
.partner-carousel {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
}
.partner-item img {
    max-height: 45px;
    width: auto !important;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}
.partner-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive */
@media(max-width: 768px) {
    .quote-tabs-container {
        flex-direction: column;
        align-items: center;
    }
    .quote-tab {
        width: 100%;
        max-width: 100%;
        padding: 16px;
    }
    #quote-form-wrapper.layout-two-columns {
        flex-direction: column-reverse;
    }
    .quote-image-container {
        width: 100%;
        height: 200px;
    }
    .quote-form-container {
        padding: 20px;
    }
    .row-grid-2, .row-grid-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
