* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

main.container {
    flex: 1 0 auto;
    width: 100%;
}

.site-footer {
    flex-shrink: 0;
}

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

header {
    padding: 20px 0;
    border-bottom: 1px solid #eeeeee;
}

header a {
    text-decoration: none;
    display: inline-block;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    max-width: 200px;
    height: auto;
}

.admin-login-link {
    display: flex;
    align-items: center;
    padding: 8px;
    color: #046A38;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.admin-login-link:hover {
    opacity: 1;
    transform: scale(1.1);
}

.admin-login-link svg {
    width: 20px;
    height: 20px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin: 40px 0 30px 0;
    padding: 20px 0;
    border-bottom: 2px solid #e0e0e0;
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    row-gap: 12px;
    min-height: 50px;
}

/* Base breadcrumb item */
.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

/* Compressed (completed) steps */
.breadcrumb-item.compressed {
    color: #666666;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 0;
}

.breadcrumb-item.compressed:hover {
    color: #046A38;
}

.breadcrumb-item.compressed .breadcrumb-label {
    font-weight: 500;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.breadcrumb-item.compressed:hover .breadcrumb-label {
    text-decoration: underline;
}

/* Separator between compressed steps */
.breadcrumb-separator {
    color: #999999;
    font-size: 18px;
    margin: 0 8px;
    user-select: none;
    font-weight: 300;
}

/* Expanded (current) step */
.breadcrumb-item.expanded {
    background-color: rgba(4, 106, 56, 0.08);
    border: 2px solid #046A38;
    border-radius: 8px;
    padding: 12px 24px;
    color: #046A38;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(4, 106, 56, 0.15);
    margin-left: 4px;
}

.breadcrumb-item.expanded .breadcrumb-step-number {
    margin-right: 8px;
    font-weight: 700;
}

.breadcrumb-item.expanded .breadcrumb-label {
    font-weight: 600;
}

/* Active state animation */
.breadcrumb-item.active {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.config-section {
    display: none;
    margin: 40px 0;
}

.config-section.active {
    display: block;
}

.section-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #046A38;
}

.section-description {
    margin-bottom: 30px;
    font-size: 16px;
    color: #666666;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Step 7 Options - 2-column wrap layout */
#step-7 .options-grid {
    grid-template-columns: repeat(2, 1fr);
}

.option-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.option-card:hover {
    border-color: #046A38;
    box-shadow: 0 4px 8px rgba(4, 106, 56, 0.1);
}

.option-card.selected {
    border-color: #046A38;
    background-color: rgba(4, 106, 56, 0.05);
}

.option-card.disabled {
    border-color: #e0e0e0;
    background-color: rgba(224, 224, 224, 0.3);
    cursor: not-allowed;
}

.option-card.disabled:hover {
    border-color: #e0e0e0;
    box-shadow: none;
}

.option-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.option-description {
    font-size: 14px;
    color: #666666;
    flex-shrink: 0;
    margin-bottom: 10px;
}

.option-price {
    margin-top: 10px;
    font-size: 13px;
    color: #046A38;
    font-weight: 500;
}

.option-price-info {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* Application Quantity Input Positioning */
.application-quantity-input {
    margin-top: auto !important;
    padding-top: 15px;
}

.application-quantity-input label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.application-quantity-input input {
    width: 100%;
    max-width: 120px;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
}

.application-quantity-input input:focus {
    outline: none;
    border-color: #046A38;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.375;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: #046A38;
    color: white;
}

.btn-primary:hover {
    background-color: #03552c;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #333333;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.coming-soon {
    opacity: 0.7;
    position: relative;
}

.coming-soon::after {
    content: "Coming Soon";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(4, 106, 56, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.custom-input {
    margin-top: 20px;
    display: none;
}

.custom-input.active {
    display: block;
}

/* Custom Length Input (Step 4) */
.custom-length-input {
    display: none;
    margin-top: 20px;
}

.custom-length-input.active {
    display: block;
}

.custom-length-input label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
    color: #333;
}

.custom-length-input input,
.custom-sensor-input input {
    width: 100%;
    max-width: 120px;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.custom-length-input input:focus,
.custom-sensor-input input:focus {
    outline: none;
    border-color: #046A38;
}

.custom-length-input input:disabled,
.custom-sensor-input input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Custom Sensor Input */
.custom-sensor-input {
    display: none;
    margin-top: 15px;
}

.custom-sensor-input.active {
    display: block;
}

.custom-sensor-input label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 13px;
}

.form-group input, .form-group select {
    width: 100%;
    max-width: 400px;
    padding: 9px 11px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #046A38;
}

/* Application Details Textarea (Step 2) */
.application-details {
    margin-top: 20px;
}

.application-details textarea {
    width: 100%;
    max-width: 600px;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
}

.application-details textarea:focus {
    outline: none;
    border-color: #046A38;
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-input button {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    background-color: white;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
}

.quantity-input button:hover {
    background-color: #f5f5f5;
}

.quantity-input input {
    width: 80px;
    text-align: center;
}

/* Railcar Count Controls (Step 3) */
.railcar-count-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.railcar-count-container button {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    background-color: white;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.railcar-count-container button:hover {
    background-color: #f5f5f5;
    border-color: #046A38;
}

.railcar-count-container input {
    width: 80px;
    text-align: center;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
}

.railcar-count-container input:focus {
    outline: none;
    border-color: #046A38;
}

.pricing-summary {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    margin: 20px 0;
    overflow: hidden;
}

.pricing-summary h3 {
    background-color: #046A38;
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

#configuration-summary {
    padding: 20px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-row:last-of-type:not(.total) {
    border-bottom: none;
}

.pricing-row-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-row-label .main-label {
    font-weight: 600;
    color: #333333;
    font-size: 15px;
}

.pricing-row-label .sub-label {
    font-size: 13px;
    color: #666666;
}

.pricing-row-value {
    font-weight: 600;
    color: #046A38;
    font-size: 15px;
    white-space: nowrap;
    margin-left: 20px;
}

.pricing-row.included .pricing-row-value {
    color: #888888;
    font-weight: 500;
}

.pricing-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #046A38;
    border-bottom: none;
}

.pricing-row.total .pricing-row-label .main-label {
    font-size: 18px;
    color: #046A38;
}

.pricing-row.total .pricing-row-value {
    font-size: 20px;
    color: #046A38;
}

.pricing-footnotes {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.pricing-footnotes p {
    margin-bottom: 5px;
    color: #666666;
    font-size: 12px;
}

.pricing-model {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.pricing-option {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: white;
}

.pricing-option:hover {
    border-color: #046A38;
    box-shadow: 0 4px 12px rgba(4, 106, 56, 0.1);
}

.pricing-option.selected {
    border-color: #046A38;
    background-color: rgba(4, 106, 56, 0.02);
    box-shadow: 0 6px 16px rgba(4, 106, 56, 0.15);
}

.pricing-option-title {
    background-color: #f9f9f9;
    padding: 20px;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #046A38;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
}

.pricing-option.selected .pricing-option-title {
    background-color: #046A38;
    color: white;
}

.pricing-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    background-color: white;
}

.price-block {
    text-align: center;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    line-height: 1;
    margin-bottom: 8px;
}

.price-label {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.price-divider {
    font-size: 24px;
    color: #999999;
    font-weight: 300;
}

.pricing-details {
    padding: 20px;
    background-color: #fafafa;
    border-top: 1px solid #e0e0e0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #666666;
}

.detail-row:not(:last-child):not(.detail-total) {
    border-bottom: 1px solid #e8e8e8;
}

.detail-row.detail-total {
    margin-top: 0;
    padding-top: 15px;
    border-top: 2px solid #046A38;
    border-bottom: none;
    font-size: 15px;
}

.detail-row strong {
    color: #333333;
}

.detail-row.detail-total strong {
    color: #046A38;
}

.pricing-footnotes {
    padding: 15px 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

.pricing-footnotes p {
    margin: 0;
    color: #666666;
    font-size: 11px;
    line-height: 1.4;
}

.customer-info-section {
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.customer-info-section h3 {
    font-size: 17px;
    margin-bottom: 4px;
    color: #046A38;
}

.customer-info-section .section-description {
    margin-bottom: 14px;
    font-size: 13px;
}

.field-helper {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

.form-group input.error,
.form-group select.error {
    border-color: #d32f2f;
    background-color: #fff5f5;
}

.form-group input.valid,
.form-group select.valid {
    border-color: #046A38;
}

/* Select dropdown styling */
.form-group select {
    width: 100%;
    max-width: 400px;
    padding: 9px 11px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    background-color: white;
    cursor: pointer;
}

.form-group select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #999;
}

.quote-output {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    display: none;
}

.quote-output.active {
    display: block;
}

.quote-header {
    text-align: center;
    margin-bottom: 30px;
}

.quote-details {
    margin-bottom: 30px;
}

.quote-footer {
    text-align: center;
    margin-top: 30px;
}

/* Loading Modal */
.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-modal.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    background-color: white;
    padding: 40px 60px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #046A38;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    color: #333333;
    font-weight: 500;
    margin-bottom: 10px;
}

.loading-subtext {
    font-size: 14px;
    color: #666666;
}

/* Success notification */
.success-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #046A38;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(4, 106, 56, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-notification.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.success-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: white;
    color: #046A38;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
}

.success-message {
    font-size: 14px;
    font-weight: 500;
}

/* Step 2 Subsection Styles */
.config-subsection {
    margin-bottom: 40px;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.config-subsection.locked {
    opacity: 0.6;
    pointer-events: none;
    background-color: #f9f9f9;
    border-color: #e0e0e0;
}

.subsection-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.subsection-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #046A38;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.config-subsection.locked .subsection-number {
    background-color: #cccccc;
}

.subsection-title {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin: 0;
}

.config-subsection.locked .subsection-title {
    color: #999999;
}

.lock-indicator {
    margin-left: auto;
    font-size: 20px;
    color: #999999;
}

.lock-indicator.unlocked {
    color: #046A38;
}

.config-subsection.locked .option-card {
    cursor: not-allowed;
    opacity: 0.5;
}

.config-subsection.locked .option-card:hover {
    border-color: #e0e0e0;
    box-shadow: none;
}

/* Adapter Subsection (Step 6) */
#adapter-subsection {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

#adapter-subsection .subsection-title {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
}

#adapter-subsection .subsection-description {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
}

#adapter-subsection .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Feature Card Styling (Step 8 - Dynamic Data) */
.feature-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card.selected {
    border-color: #046A38;
    background-color: rgba(4, 106, 56, 0.05);
}

.feature-card .feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.feature-card .feature-description {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

.feature-card .check-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #046A38;
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.feature-card.selected .check-icon {
    display: flex;
}


/* Batch Summary Panel */
.batch-summary-panel {
    background-color: #f9f9f9;
    border: 2px solid #046A38;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.batch-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #046A38;
    color: white;
    cursor: pointer;
    user-select: none;
}

.batch-summary-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.batch-summary-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.batch-summary-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.toggle-icon {
    font-weight: bold;
    line-height: 1;
}

.batch-summary-content {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.batch-summary-panel.collapsed .batch-summary-content {
    display: none;
}

.batch-item {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.2s ease;
}

.batch-item:last-child {
    margin-bottom: 0;
}

.batch-item:hover {
    border-color: #046A38;
    box-shadow: 0 2px 8px rgba(4, 106, 56, 0.1);
}

.batch-item-info {
    flex: 1;
}

.batch-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.batch-item-quantity {
    background-color: #046A38;
    color: white;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.batch-item-type {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.batch-item-specs {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.batch-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 15px;
}

.batch-action-btn {
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    background-color: white;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.batch-action-btn:hover {
    border-color: #046A38;
    color: #046A38;
    background-color: rgba(4, 106, 56, 0.05);
}

.batch-action-btn.remove:hover {
    border-color: #d32f2f;
    color: #d32f2f;
    background-color: rgba(211, 47, 47, 0.05);
}

.edit-mode-indicator {
    background-color: #F59E0B;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

/* Branch Options Grid (Step 8) */
.branch-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.branch-option-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background-color: white;
    position: relative;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.branch-option-card:hover {
    border-color: #046A38;
    box-shadow: 0 4px 12px rgba(4, 106, 56, 0.12);
    transform: translateY(-2px);
}

.branch-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.branch-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Batch Review Summary (Step 8) */
.batch-review-summary {
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 40px;
}

.batch-review-summary h3 {
    color: #046A38;
    margin-bottom: 15px;
    font-size: 18px;
}

.batch-review-item {
    background-color: white;
    border-left: 4px solid #046A38;
    padding: 12px 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.batch-review-item:last-child {
    margin-bottom: 0;
}

.batch-review-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #046A38;
    font-weight: 600;
    color: #046A38;
    font-size: 16px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-model {
        flex-direction: column;
        gap: 20px;
    }
    
    .pricing-hero {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .price-divider {
        transform: rotate(90deg);
        font-size: 20px;
    }
    
    .price-amount {
        font-size: 32px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    /* Step 7 also uses single column on mobile */
    #step-7 .options-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile adjustments for new components */
    .custom-length-input input {
        width: 100%;
        max-width: 300px;
    }
    
    .application-details textarea {
        max-width: 100%;
    }
    
    .railcar-count-container {
        margin: 15px 0;
    }
    
    #adapter-subsection {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    #adapter-subsection .options-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    /* Breadcrumb navigation mobile styles */
    .breadcrumb-container {
        gap: 6px;
        row-gap: 10px;
    }
    
    .breadcrumb-item.compressed {
        font-size: 12px;
    }
    
    .breadcrumb-item.expanded {
        font-size: 16px;
        padding: 10px 16px;
    }
    
    .breadcrumb-separator {
        font-size: 16px;
        margin: 0 4px;
    }
    
    .loading-content {
        padding: 30px 40px;
        max-width: 300px;
    }
    
    .success-notification {
        top: 10px;
        bottom: auto;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        transform: translateX(0) translateY(-100px);
    }
    
    .success-notification.active {
        transform: translateX(0) translateY(0);
    }
    
    .config-subsection {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .subsection-header {
        gap: 12px;
    }
    
    .subsection-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .subsection-title {
        font-size: 18px;
    }
    
    /* Batch-related mobile styles */
    .batch-summary-panel {
        margin-bottom: 20px;
    }
    
    .batch-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .batch-item-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }
    
    .branch-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .branch-option-card {
        padding: 20px 16px;
        min-height: 120px;
    }
    
    .branch-title {
        font-size: 16px;
    }
    
    .branch-description {
        font-size: 13px;
    }
    
    .batch-review-summary {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    /* Customer Information Form Mobile Styles */
    .customer-info-section {
        padding: 16px;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    .form-row {
        gap: 10px;
        margin-bottom: 0;
    }
    
    .form-group input,
    .form-group select {
        max-width: 100%;
        font-size: 13px;
    }
}

/* Homepage Styles */
.hero-section {
    text-align: center;
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: #E5E7EB;
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0),
                      linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    border-radius: 8px;
}

.hero-title {
    font-size: 42px;
    color: #046A38;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-description {
    font-size: 18px;
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.features-section {
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
}

.feature-description {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}

.products-section {
    margin-bottom: 60px;
}

.products-title {
    font-size: 32px;
    color: #046A38;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.product-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 8px 16px rgba(4, 106, 56, 0.15);
    transform: translateY(-4px);
}

.product-card-disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

.product-badge-coming-soon {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #F59E0B;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.product-header {
    padding: 20px 20px 0 20px;
}

.product-name {
    font-size: 26px;
    font-weight: 700;
    color: #046A38;
    margin: 0 0 20px 0;
}

.product-image-placeholder {
    width: 100%;
    height: 350px;
    background-color: #E5E7EB;
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0),
                      linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 14px;
}

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.product-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-description {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.learn-more-wrapper {
    margin-bottom: 20px;
}

.learn-more-link {
    color: #046A38;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.learn-more-link:hover {
    text-decoration: underline;
}

.product-actions {
    margin-top: auto;
}

.product-actions .btn {
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-full-width {
    width: 100%;
}

.site-footer {
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    padding: 30px 0;
    margin-top: 60px;
}

.site-footer p {
    text-align: center;
    color: #666666;
    font-size: 14px;
}

.site-footer a {
    color: #046a38;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Mobile responsive adjustments for homepage */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image-placeholder {
        height: 200px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .product-name {
        font-size: 18px;
    }
}

/* Step 10: Summary Page Styles */

/* Download PDF Section (below description) */
.summary-download-section {
    margin: 30px 0;
}

.btn-download-pdf {
    background-color: #046A38;
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download-pdf:hover {
    background-color: #03552c;
}

.quote-preview-container {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
}

.quote-preview-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #046A38;
    margin-bottom: 30px;
}

.quote-preview-header h2 {
    color: #046A38;
    font-size: 24px;
    margin-bottom: 10px;
}

.quote-preview-header p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.quote-preview-section {
    margin-bottom: 30px;
}

.quote-preview-section:last-child {
    margin-bottom: 0;
}

.quote-preview-section h3 {
    color: #046A38;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.quote-preview-section p {
    margin: 8px 0;
    color: #333;
    font-size: 14px;
}

.config-item {
    background-color: #f9f9f9;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-left: 4px solid #046A38;
    border-radius: 4px;
}

.config-specs {
    color: #666;
    font-size: 13px;
}

.config-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #046A38;
    color: #046A38;
    font-size: 16px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.pricing-item.total {
    border-top: 2px solid #046A38;
    border-bottom: none;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    color: #046A38;
}

/* Summary Actions */
.summary-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 40px 0 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.terms-checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.terms-label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.terms-label a {
    color: #046A38;
    text-decoration: underline;
    font-weight: 500;
}

.terms-label a:hover {
    color: #03552c;
}

#order-now-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Responsive for Summary Page */
@media (max-width: 768px) {
    .quote-preview-container {
        padding: 20px;
    }
    
    .quote-preview-header h2 {
        font-size: 20px;
    }
    
    .summary-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .terms-checkbox-container {
        justify-content: flex-start;
    }
    
    .btn-download-pdf,
    #order-now-btn {
        width: 100%;
    }
    
    .terms-checkbox-container {
        justify-content: center;
    }
}

/* Order Page Status Banners */
.order-status-banner {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 18px;
  border: 2px solid;
}

.status-awaiting {
  background-color: #FFF3CD;
  border-color: #FFC107;
  color: #856404;
}

.status-paid {
  background-color: #D4EDDA;
  border-color: #28A745;
  color: #155724;
}

.status-expired {
  background-color: #F8D7DA;
  border-color: #DC3545;
  color: #721C24;
}

.status-unknown {
  background-color: #E2E3E5;
  border-color: #6C757D;
  color: #383D41;
}

/* Digital Signature Input on Summary Page */
.terms-section {
  flex: 1;
}

.signature-input-container {
  margin-top: 15px;
}

.signature-label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 500;
}

.signature-input {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.signature-input:focus {
  outline: none;
  border-color: #046A38;
}

.signature-input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.7;
}

.signature-input.error {
  border-color: #d32f2f;
  background-color: #fff5f5;
}

.signature-input.valid {
  border-color: #046A38;
}

/* Large action button for order page */
.btn-large {
  padding: 15px 40px;
  font-size: 18px;
  min-width: 200px;
}

/* Mobile responsive adjustments for order page */
@media (max-width: 768px) {
  .signature-input {
    max-width: 100%;
  }
  
  .order-status-banner {
    font-size: 16px;
    padding: 15px;
  }
  
  .btn-large {
    width: 100%;
    min-width: auto;
  }
  
  .summary-actions {
    flex-direction: column;
  }
  
  .terms-section {
    width: 100%;
  }
}
