/* Loading overlay styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    width: 400px;
}

.loading-content p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #333;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Compact Progress Tracker */
.progress-container {
    margin-bottom: 1rem; /* Reduced from default */
    padding: 0.75rem 0; /* Reduced padding */
}

.progress-bar-container {
    position: relative;
    height: 3px; /* Reduced from default thickness */
    background-color: #e9ecef;
    border-radius: 1.5px;
    margin-bottom: 0.75rem; /* Reduced margin */
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--frs-accent2-color) 0%, var(--frs-accent1-color) 100%);
    border-radius: 1.5px;
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-indicator {
    width: 28px; /* Reduced from default size */
    height: 28px; /* Reduced from default size */
    border-radius: 50%;
    border: 2px solid #dee2e6;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem; /* Reduced font size */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.step-indicator:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(43, 57, 144, 0.3);
}

.progress-step.completed .step-indicator {
    background: var(--frs-accent1-color);
    border-color: var(--frs-accent1-color);
    color: white;
}

.progress-step.active .step-indicator {
    background: var(--frs-accent2-color);
    border-color: var(--frs-accent2-color);
    color: white;
    box-shadow: 0 0 0 3px rgba(43, 57, 144, 0.2);
}

.step-label {
    font-size: 0.75rem; /* Reduced font size */
    font-weight: 500;
    color: #6c757d;
    text-align: center;
    line-height: 1.2;
}

.progress-step.active .step-label {
    color: var(--frs-accent2-color);
    font-weight: 600;
}

.progress-step.completed .step-label {
    color: var(--frs-accent1-color);
    font-weight: 600;
}

/* Responsive adjustments for compact progress */
@media (max-width: 768px) {
    .progress-container {
        padding: 0.5rem 0;
        margin-bottom: 0.75rem;
    }

    .step-indicator {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .step-label {
        font-size: 0.7rem;
        margin-top: 0.3rem;
        max-width: 60px;
    }

    .progress-bar-container {
        height: 2px;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .step-label {
        font-size: 0.65rem;
        max-width: 50px;
    }

    .step-indicator {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }
}

/* Step 1 Layout */
.step-1-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.selection-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.configuration-column {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.config-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.panel-title {
    color: #495057;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
}

/* Selection Sections */
.selection-section {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: #495057;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

/* Compact Radio Groups */
.compact-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.compact-radio-option {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    position: relative;
}

.compact-radio-option:hover {
    border-color: var(--frs-accent2-color);
    background: #f8f9ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(43, 57, 144, 0.15);
}

.compact-radio-option.selected {
    border-color: var(--frs-accent2-color);
    background: #e7f3ff;
    box-shadow: 0 0 0 3px rgba(43, 57, 144, 0.1);
}

.compact-radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-indicator {
    width: 16px;
    height: 16px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    margin-right: 0.5rem;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.compact-radio-option.selected .radio-indicator {
    border-color: var(--frs-accent2-color);
    background: var(--frs-accent2-color);
}

.compact-radio-option.selected .radio-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.option-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.option-title {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.option-desc {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.15rem;
    line-height: 1.3;
}

/* Form styling in config panel */
.config-panel .form-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.config-panel .form-control,
.config-panel .form-select {
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

.config-panel .form-control:focus,
.config-panel .form-select:focus {
    border-color: var(--frs-accent2-color);
    box-shadow: 0 0 0 0.2rem rgba(43, 57, 144, 0.15);
}

.financial-info {
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}

.financial-info h6 {
    color: #495057;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .step-1-container {
        grid-template-columns: 280px 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .step-1-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .configuration-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .compact-radio-option {
        padding: 0.4rem 0.6rem;
    }
    
    .option-title {
        font-size: 0.85rem;
    }
    
    .option-desc {
        font-size: 0.75rem;
    }
    
    .selection-section {
        padding: 0.75rem;
    }
}

/* Step 2 Layout - Similar to Step 1 */
.step-2-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.buyer-selection-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.buyer-details-column {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.buyer-details-column.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.buyer-form-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.disabled-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.joint-buyer-section {
    transition: all 0.2s ease;
}

.joint-buyer-section:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Form styling in buyer panel */
.buyer-form-panel .form-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.buyer-form-panel .form-control {
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

.buyer-form-panel .form-control:focus {
    border-color: var(--frs-accent2-color);
    box-shadow: 0 0 0 0.2rem rgba(43, 57, 144, 0.15);
}

/* Step 3 Layout - Similar to Steps 1 and 2 */
.step-3-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.vehicle-selection-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vehicle-details-column {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.vehicle-form-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Trade-in section styling */
.trade-in-section {
    transition: all 0.2s ease;
}

.trade-in-section:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Form styling in vehicle panel */
.vehicle-form-panel .form-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.vehicle-form-panel .form-control,
.vehicle-form-panel .form-select {
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

.vehicle-form-panel .form-control:focus,
.vehicle-form-panel .form-select:focus {
    border-color: var(--frs-accent2-color);
    box-shadow: 0 0 0 0.2rem rgba(43, 57, 144, 0.15);
}

.form-group-slim {
    margin-bottom: 1rem;
}

.form-hint {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.required-label::after {
    content: " *";
    color: #dc3545;
}

/* Responsive adjustments for Step 3 */
@media (max-width: 1200px) {
    .step-3-container {
        grid-template-columns: 280px 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .step-3-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vehicle-details-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .vehicle-selection-column .selection-section {
        padding: 0.75rem;
    }
    
    .vehicle-form-panel {
        padding: 1rem;
    }
}

/* Step 2 responsive adjustments */
@media (max-width: 1200px) {
    .step-2-container {
        grid-template-columns: 280px 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .step-2-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .buyer-details-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .buyer-selection-column .selection-section {
        padding: 0.75rem;
    }
    
    .buyer-form-panel {
        padding: 1rem;
    }
}

/* Step 4 Layout - Similar to Steps 1, 2, and 3 */
.step-4-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.taxes-selection-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.taxes-details-column {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.taxes-form-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Form styling in taxes panel */
.taxes-form-panel .form-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.taxes-form-panel .form-control,
.taxes-form-panel .form-select {
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

.taxes-form-panel .form-control:focus,
.taxes-form-panel .form-select:focus {
    border-color: var(--frs-accent2-color);
    box-shadow: 0 0 0 0.2rem rgba(43, 57, 144, 0.15);
}

/* Responsive adjustments for Step 4 */
@media (max-width: 1200px) {
    .step-4-container {
        grid-template-columns: 280px 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .step-4-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .taxes-details-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .taxes-selection-column .selection-section {
        padding: 0.75rem;
    }
    
    .taxes-form-panel {
        padding: 1rem;
    }
}

/* Vehicle Details Component Specific Styles - Compact Version */
.vehicle-details-container {
    padding: 0.75rem;
}

.details-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.details-row .selection-section {
    flex: 1;
    min-width: 300px;
    padding: 0.75rem;
}

.details-row .selection-section.fullwidth-section {
    flex: 1 1 100%;
}

.details-row .selection-section.wide-section {
    flex: 2;
}

.buyers-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.joint-buyer-section {
    margin-top: 0.75rem;
    border-left: 3px solid var(--frs-accent2-color);
    padding-left: 0.75rem;
}

.buyer-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #dee2e6;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.multi-column-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.multi-column-grid.two-columns {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.multi-column-grid.three-columns {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.summary-value {
    color: #495057;
    font-size: 0.85rem;
    line-height: 1.3;
    padding: 0.15rem 0;
    margin-bottom: 0.25rem;
}

.config-panel {
    padding: 1rem;
}

.panel-title {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
}

.section-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-group-slim {
    margin-bottom: 0.5rem;
}

.form-label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

/* Compact responsive adjustments for vehicle details */
@media (max-width: 992px) {
    .details-row {
        flex-direction: column;
    }
    
    .details-row .selection-section {
        min-width: auto;
        padding: 0.5rem;
    }
    
    .multi-column-grid.three-columns {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .multi-column-grid.two-columns {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .vehicle-details-container {
        padding: 0.5rem;
    }
    
    .details-row {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .multi-column-grid {
        gap: 0.5rem;
        grid-template-columns: 1fr;
    }
    
    .joint-buyer-section {
        padding-left: 0.5rem;
    }
    
    .config-panel {
        padding: 0.75rem;
    }
    
    .info-grid {
        gap: 0.25rem;
    }
    
    .summary-value {
        font-size: 0.8rem;
        padding: 0.1rem 0;
        margin-bottom: 0.15rem;
    }
    
    .panel-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 576px) {
    .multi-column-grid.three-columns {
        grid-template-columns: 1fr;
    }
    
    .form-group-slim {
        margin-bottom: 0.35rem;
    }
    
    .form-label {
        font-size: 0.75rem;
        margin-bottom: 0.15rem;
    }
    
    .summary-value {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

/* Vehicle Details Component - Ultra Compact Inline Style */
.vehicle-details-container {
    padding: 0.5rem;
    font-size: 0.9rem;
}

.details-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.details-row .selection-section {
    flex: 1;
    min-width: 300px;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: #495057;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.compact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
}

.info-row label {
    font-weight: 600;
    color: #495057;
    font-size: 0.85rem;
    min-width: 120px;
    flex-shrink: 0;
    margin: 0;
}

.info-row span {
    color: #495057;
    font-size: 0.85rem;
    flex: 1;
    word-wrap: break-word;
}

.joint-buyer-compact {
    margin-left: 1rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--frs-accent2-color);
}

.joint-buyer-compact .info-row label {
    color: var(--frs-accent2-color);
    font-weight: 500;
}

/* Special styling for notes */
.notes-text {
    white-space: pre-wrap;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 3px solid var(--frs-accent1-color);
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    max-height: 200px;
    overflow-y: auto;
}

/* Token display styling */
.info-row span:has-text("...") {
    font-family: monospace;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

/* Status and flag styling */
.info-row:has([class*="status"]) span,
.info-row:has([class*="flag"]) span {
    font-weight: 500;
}

/* Responsive adjustments for comprehensive vehicle details */
@media (max-width: 1200px) {
    .info-row label {
        min-width: 100px;
        font-size: 0.8rem;
    }
    
    .info-row span {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .details-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .details-row .selection-section {
        min-width: auto;
        padding: 0.5rem;
    }
    
    .info-row label {
        min-width: 90px;
    }
}

@media (max-width: 768px) {
    .vehicle-details-container {
        padding: 0.25rem;
        font-size: 0.85rem;
    }
    
    .details-row {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .compact-info-grid {
        gap: 0.35rem;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .info-row label {
        min-width: auto;
        font-size: 0.8rem;
        font-weight: 700;
    }
    
    .info-row span {
        font-size: 0.8rem;
        margin-left: 0;
    }
    
    .joint-buyer-compact {
        margin-left: 0.5rem;
        padding-left: 0.5rem;
    }
    
    .section-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.35rem;
    }
    
    .notes-text {
        font-size: 0.75rem;
        padding: 0.35rem;
        max-height: 150px;
    }
}

@media (max-width: 576px) {
    .info-row label {
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .info-row span {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 0.85rem;
    }
    
    .notes-text {
        font-size: 0.7rem;
        max-height: 120px;
    }
}

/* QR Code Display Styling */
.qr-code-container {
    background: white !important;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem auto;
    max-width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-code-display {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    background: white !important;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.qr-code-display canvas {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: white !important;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.qr-code-display img {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: white !important;
    max-width: 100%;
    height: auto;
}

/* Force QR code container background */
.qr-code-display > div {
    background: white !important;
}

.qr-code-display > div > canvas {
    background: white !important;
}

.qr-code-display > div > img {
    background: white !important;
}

.qr-code-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #6c757d;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Step number styling */
.step-number {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
}

.step-number .badge {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 0.75rem;
}

.step-item {
    border-left: 3px solid transparent;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.2s ease;
}

.step-item:hover {
    border-left-color: var(--frs-accent2-color);
}

/* Copy button styling */
.input-group .btn-outline-secondary {
    border-left: none;
}

.input-group .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Font monospace for keys */
.font-monospace {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Responsive QR code adjustments */
@media (max-width: 768px) {
    .qr-code-container {
        max-width: 240px;
        padding: 1rem;
    }
    
    .qr-code-display {
        min-height: 180px;
    }
    
    .qr-code-display canvas,
    .qr-code-display img {
        max-width: 180px;
        max-height: 180px;
    }
    
    .step-item {
        padding-left: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .step-number .badge {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        margin-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .qr-code-container {
        max-width: 200px;
        padding: 0.75rem;
    }
    
    .qr-code-display {
        min-height: 160px;
    }
    
    .qr-code-display canvas,
    .qr-code-display img {
        max-width: 160px;
        max-height: 160px;
    }
    
    .font-monospace {
        font-size: 0.8rem;
    }
}

/* Transportation Page Specific Styles */
.shipping-quote-section {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.shipping-quote-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1.25rem;
}

.quote-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quote-inputs .input-group {
    display: flex;
    flex-direction: column;
}

.quote-inputs .input-group label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.quote-inputs .form-control,
.quote-inputs .form-select {
    font-size: 0.95rem;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    min-height: 45px;
    background: white;
}

.quote-inputs .form-select {
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    appearance: none;
    width: fit-content;
}

.quote-inputs .form-control:focus,
.quote-inputs .form-select:focus {
    border-color: var(--frs-accent2-color);
    box-shadow: 0 0 0 0.2rem rgba(43, 57, 144, 0.15);
    outline: none;
}

.quote-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quote-btn {
    min-width: 140px;
}

.quote-results {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
}

.quote-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.quote-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 0.75rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.quote-details {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.quote-item {
    display: flex;
    align-items: center;
}

.quote-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.quote-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

.compact-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.compact-order-table th,
.compact-order-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.9rem;
}

.compact-order-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.compact-order-table tr:hover {
    background: #f8f9fa;
}

.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #6c757d;
}

/* Insurance Notice Styling */
.insurance-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #f39c12;
}

.notice-content {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #856404;
    line-height: 1.4;
}

.notice-content i {
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Responsive adjustments for transportation page */
@media (max-width: 992px) {
    .quote-inputs {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .quote-details {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .quote-actions {
        flex-direction: column;
    }
    
    .insurance-notice {
        padding: 0.6rem 0.8rem;
    }
    
    .notice-content {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .shipping-quote-section {
        padding: 1rem;
    }
    
    .shipping-quote-card {
        padding: 1rem;
    }
    
    .quote-inputs .form-control,
    .quote-inputs .form-select {
        font-size: 0.9rem;
        padding: 0.6rem;
        min-height: 40px;
    }
    
    .insurance-notice {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .notice-content {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .notice-content i {
        margin-top: 0;
    }
    
    .compact-order-table {
        font-size: 0.8rem;
    }
    
    .compact-order-table th,
    .compact-order-table td {
        padding: 0.5rem;
    }
}
