/* ========================================
   EkoBus Plugin - Workflow Components CSS
   ======================================== */

/* Address Selector Enhanced Styles */
.ekobus-address-selector {
    --primary-color: #0056b3;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --border-color: #dee2e6;
    --hover-color: #f8f9fa;
}

/* City and Address Suggestions */
.city-suggestions, .address-suggestions-section {
    position: relative;
    background: white;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.city-suggestion-item, .address-suggestion-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.city-suggestion-item:hover, .address-suggestion-item:hover {
    background-color: var(--hover-color);
}

.city-suggestion-item:last-child, .address-suggestion-item:last-child {
    border-bottom: none;
}

.city-name, .address-main {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.city-details, .address-details {
    font-size: 14px;
    color: #666;
    margin-bottom: 2px;
}

.city-country, .address-coordinates {
    font-size: 12px;
    color: #999;
}

.address-coordinates small {
    font-family: monospace;
}

/* Address Suggestions Header */
.address-suggestions-header {
    padding: 16px;
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

.address-suggestions-header h4 {
    margin: 0 0 8px 0;
    color: var(--primary-color);
}

.address-suggestions-header p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* No Results Messages */
.no-cities-found, .no-addresses-found {
    padding: 20px;
    text-align: center;
    color: #666;
}

.no-cities-found .icon, .no-addresses-found .icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.no-addresses-found p {
    margin: 8px 0;
    font-size: 14px;
}

.no-addresses-found .btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 16px;
    margin-top: 8px;
}

/* Address Confirmation */
.confirmation-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.address-confirmation h4 {
    margin: 0 0 16px 0;
    color: var(--primary-color);
}

.selected-address-preview {
    background: white;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 16px;
}

.address-line {
    margin-bottom: 4px;
    font-size: 16px;
}

.address-line strong {
    color: #333;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.confirmation-actions .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}


.btn-secondary {
    background-color: #6c757d;
    color: white;
}

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

/* Transport Cost Display */
.transport-section {
    margin: 20px 0;
    padding: 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.transport-free {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #d1edff;
    border: 1px solid #0056b3;
    border-radius: 6px;
    color: var(--primary-color);
}

.transport-free .icon {
    font-size: 20px;
}

.transport-paid {
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
}

.transport-cost-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.transport-label {
    font-weight: 500;
    color: #333;
}


.transport-breakdown {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Field Validation */
.form-group input.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.field-error {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 4px;
    display: block;
}

/* Validation Messages */
.validation-section {
    margin: 16px 0;
}

.validation-error, .validation-success {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.validation-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.validation-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}






.calculate-transport-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    min-width: 200px;
    height: 50px;
    flex-shrink: 0;
}

.calculate-transport-btn:hover:not(:disabled) {
    background-color: #004494;
    transform: translateY(-1px);
}

.calculate-transport-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

/* City Transport Calculator */
.city-input-section {
    margin-bottom: 16px;
}

.city-search-wrapper {
    width: 100%;
}

.city-search-container {
    width: 100%;
    margin-bottom: 8px;
}

.city-search-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color, #374151);
    margin-bottom: 6px;
}

.city-search-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 6px;
    background: var(--input-background, #ffffff);
    transition: all 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.city-search-input:focus {
    border-color: var(--primary-color, #3b82f6);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.city-search-input::placeholder {
    color: var(--placeholder-color, #9ca3af);
}

.city-results-container {
    width: 100%;
    margin-top: 4px;
    background: var(--card-background, #ffffff);
    border-radius: 6px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 10;
}

.city-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    transition: background-color 0.15s ease;
    cursor: pointer;
    background: var(--gray-50);
    border: var(--gray-200);
    border-radius: 6px;
    margin-bottom: 15px;
}

.city-result:last-child {
    border-bottom: none;
}

.city-result:hover {
    background-color: var(--hover-background, #f8fafc);
}

.city-info {
    flex: 1;
    min-width: 0;
}

.city-name {
    font-weight: 600;
    color: var(--text-color, #374151);
    font-size: 14px;
    margin-bottom: 2px;
}

.city-details {
    color: var(--text-secondary, #6b7280);
    font-size: 12px;
}

.city-select-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    margin-left: 12px;
    margin: 0;
}

.city-select-btn:hover {
    background: var(--primary-dark, #2563eb);
    transform: translateY(-1px);
}

.city-select-btn:active {
    transform: translateY(0);
}

.no-results,
.error {
    padding: 16px;
    text-align: center;
    font-size: 13px;
}

.no-results {
    color: var(--text-secondary, #6b7280);
    font-style: italic;
}

.error {
    color: var(--error-color, #dc2626);
    background: var(--error-background, #fef2f2);
    border-radius: 4px;
}

/* Transport Result Section */

.transport-free {
    display: flex;
    align-items: center;
    gap: 10px;
}

.transport-free .icon {
    font-size: 16px;
    flex-shrink: 0;
}

.transport-details {
    flex: 1;
}

.transport-label {
    font-weight: 600;
    color: var(--success-dark, #047857);
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.transport-details small {
    color: var(--text-secondary, #6b7280);
    font-size: 12px;
}

.transport-cost-main {
    font-weight: 600;
    color: var(--text-color, #374151);
    font-size: 14px;
    margin-bottom: 2px;
}


.transport-breakdown {
    color: var(--text-secondary, #6b7280);
    font-size: 12px;
    margin-top: 2px;
}

/* OSM Attribution */
.osm-attribution {
    font-size: 10px;
    color: var(--text-muted, #9ca3af);
    margin-top: 4px;
    text-align: right;
}

.osm-attribution a {
    color: var(--link-color, #3b82f6);
    text-decoration: none;
}

.osm-attribution a:hover {
    text-decoration: underline;
}

/* Validation Section */
.validation-section {
    margin-top: 12px;
}

.validation-message {
    padding: 10px 12px;
    background: var(--warning-light, #fef3c7);
    border: 1px solid var(--warning-color, #f59e0b);
    border-radius: 4px;
    color: var(--warning-dark, #92400e);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .city-result {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .transport-free {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* Free Cities Section */
.free-cities-section {
    margin: 40px 0;
    padding: 24px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-width: 800px;
    margin: auto;
}

.free-cities-section h3 {
    margin: 0 0 8px 0;
    color: var(--primary-color);
    font-size: 18px;
}

.free-cities-section p {
    margin: 0 0 16px 0;
    color: #666;
    font-size: 14px;
}

.free-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.free-city-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: white;
    border: 2px solid var(--success-color);
    border-radius: 8px;
    color: var(--success-color);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    min-height: 44px;
}

.free-city-tag:hover {
    background: var(--success-color);
    color: white;
}

/* Loading spinner for button */
.btn-loading .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    .workflow-navigation {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
    }
    
    .workflow-navigation .estimated-cost {
        order: 0;
        flex: 1;
        min-width: 0;
        text-align: center;
    }
    
    .workflow-navigation .cost-amount {
        font-size: 16px;
        font-weight: bold;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .transport-cost-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .city-suggestions, .address-suggestions-section {
        max-height: 200px;
    }
    
    .free-cities-grid {
        grid-template-columns: repeat(auto-fit, minmin(120px, 1fr));
        gap: 8px;
    }
    
    .city-input-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .calculate-transport-btn {
        width: 100%;
        min-width: auto;
        margin-top: 16px;
    }
}

/* Hide footer on workflow page */
footer,
.site-footer,
#footer,
.footer {
    display: none;
}

/* Integrate with theme layout - main page style */
.ekobus-workflow {
    width: 100%;
    max-width: 1920px;
    position: relative;
    overflow: hidden;
}

.workflow-container {
    width: 100%;
    margin-bottom: 130px; /* Space for navigation bar */
    position: relative;
    z-index: 1;
    border-radius: unset;
}

/* Header - USUNIĘTE */
.workflow-header {
    display: none;
}

/* Compact Progress Bar */
.workflow-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    margin: 1rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.step-number {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    background: var(--gray-300);
    color: var(--gray-600);
    flex-shrink: 0;
}

.progress-step.completed .step-number {
    background: var(--primary-green);
    color: white;
}

.progress-step.active {
    background: rgba(45, 80, 22, 0.08);
    border-color: rgba(45, 80, 22, 0.2);
}

.progress-step.active .step-number {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 0 0 2px rgba(45, 80, 22, 0.2);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.progress-step.completed .step-label {
    color: var(--gray-700);
}

.progress-step.active .step-label {
    color: var(--primary-green);
    font-weight: 600;
}

/* Sticky navigation at bottom */
.workflow-navigation {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(45, 80, 22, 0.1);
    box-shadow: 
        0 -8px 25px rgba(0, 0, 0, 0.08),
        0 -2px 10px rgba(45, 80, 22, 0.05);
    padding: 0.5rem 1.25rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.workflow-navigation .estimated-cost {
    display: none !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.workflow-navigation .estimated-cost.visible {
    display: flex !important;
}

.workflow-navigation .cost-label {
    margin-bottom: 2px;
    font-weight: 700;
}

.workflow-navigation .cost-amount {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-green);
}

/* Navigation buttons - main page style */
.workflow-navigation .workflow-back,
.workflow-navigation .workflow-next {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-base);
}

.workflow-navigation .workflow-back {
    background: linear-gradient(135deg, var(--gray-500), var(--gray-600));
    color: white;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.workflow-navigation .workflow-next {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.4);
}

.workflow-navigation .workflow-back:hover {
    background: linear-gradient(135deg, var(--gray-600), var(--gray-700));
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
    transform: translateY(-2px);
}

.workflow-navigation .workflow-next:hover {
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-orange));
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.5);
    transform: translateY(-2px);
}

.workflow-navigation .workflow-next:disabled,
.workflow-navigation .workflow-next.disabled {
    opacity: 0.5;
    cursor: pointer;
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    box-shadow: none;
}

.workflow-navigation .workflow-next:disabled:hover,
.workflow-navigation .workflow-next.disabled:hover {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    box-shadow: none;
    transform: none;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .ekobus-workflow {
        border-radius: 0;
        box-shadow: none;
    }

    /* Progress bar - hide labels on mobile */
    .workflow-progress {
        gap: 0.5rem;
        margin: 0.75rem auto;
        justify-content: center;
    }

    .progress-step {
        padding: 0.25rem;
        gap: 0;
    }

    .step-label {
        display: none;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }

    .workflow-navigation {
        padding: 0.75rem 1rem;
    }

    .workflow-navigation .workflow-back,
    .workflow-navigation .workflow-next {
        padding: 0.625rem 1rem;
        font-size: var(--font-sm);
        flex-shrink: 0;
        min-width: 80px;
    }
}

/* ========== Rest of Original CSS ========== */

/* Workflow Content - Complete Redesign */
.workflow-content {
    flex: 1;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}

/* Modern content wrapper */
.workflow-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Step content area */
.step-content-area {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    margin-bottom: 2rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

/* Loading states */
.step-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    background: var(--gray-50, #f9fafb);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    margin: 16px 0;
    grid-column: 1 / -1;
}

.step-loading .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200, #e5e7eb);
    border-top: 2px solid var(--primary-color, #3b82f6);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

.step-loading p {
    color: var(--gray-600, #6b7280);
    font-size: 14px;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .workflow-content-wrapper {
        padding: 0 0.75rem;
    }
    
    .step-content-area {
        padding: 1.5rem;
        border-radius: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .step-content-area {
        padding: 1rem;
        border-radius: 0.75rem;
    }
}

/* Step Headers - Universal */
.step-header {
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(45, 80, 22, 0.1);
}

.step-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.025em;
}

.step-description {
    font-size: 1rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Room Types Grid (Step 1) */
.room-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
}

@media (min-width: 640px) {
    .room-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .room-types-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 800px;
        margin: auto;
        align-items: center;
    }
}

/* Quote Methods Grid (Step 2) - identical to Room Types Grid */
.quote-methods,
.method-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
}

@media (min-width: 640px) {
    .quote-methods,
    .method-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .quote-methods {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 800px;
        margin: auto;
        align-items: center;
    }

    .method-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 700px;
        margin: auto;
        align-items: center;
    }
}

/* Universal Card Styling for Room Types & Methods */
.room-type-option,
.method-option {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(45, 80, 22, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Smooth state transitions */
.room-type-option.selected,
.method-option.selected {
    animation: selectCard 0.3s ease-out;
}

@keyframes selectCard {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.room-type-card,
.method-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    padding: 1rem;
    position: relative;
}

.room-type-option:hover,
.method-option:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 80, 22, 0.3);
    box-shadow: 
        0 10px 30px rgba(45, 80, 22, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.05);
}

.room-type-option.selected,
.method-option.selected {
    border-color: var(--primary-green);
    background: rgba(45, 80, 22, 0.05);
    box-shadow: 
        0 8px 25px rgba(45, 80, 22, 0.15),
        0 0 0 1px var(--primary-green);
}

/* Icons */
    .room-type-icon, .method-icon {
        position: absolute;
        right: -50px;
        bottom: -50px;
        top: auto;
        color: #2d501699;
        font-size: 7.5rem;
        line-height: 1;
    }

/* Titles */
.room-type-name,
.method-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.3;
}

/* Descriptions */
.room-type-description,
.method-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
    flex-grow: 1;
}

/* Method Features */
.method-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.method-features li {
    font-size: 0.75rem;
    color: var(--gray-500);
    padding: 0.25rem 0;
}

.method-features li:before {
    content: "✓";
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 640px) {
    .room-type-option,
    .method-option {
        justify-content: space-between;
    }

    .room-type-icon, .method-icon {
        right: -40px;
        bottom: -35px;
        top: auto;
        font-size: 7.5rem;
    }


    .room-type-card {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0.75rem;
        padding: 1rem;
        text-align: left;
        align-items: start;
    }

    .room-type-card .room-type-name {
        grid-column: 2;
        grid-row: 1;
        font-size: 1rem;
        margin: 0;
        text-align: left;
    }

    .room-type-card .room-type-description {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.875rem;
        margin: 0;
        text-align: left;
    }

    .method-card {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.75rem;
        padding: 1rem;
        text-align: left;
        align-items: start;
    }

    .method-card h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 1rem;
        margin: 0;
        text-align: left;
    }

    .method-card p {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.875rem;
        margin: 0;
        text-align: left;
    }

    .method-card .method-features {
        grid-column: 2;
        grid-row: 3;
        margin: 0;
        text-align: left;
    }
}

@media (max-width: 300px) {
    .room-type-card,
    .method-card {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }

    .room-type-card .room-type-icon,
    .method-card .method-icon {
        font-size: 5rem;
    }

    .room-type-card .room-type-name,
    .room-type-card .room-type-description,
    .method-card h3,
    .method-card p,
    .method-card .method-features {
        grid-column: unset;
        grid-row: unset;
        text-align: center;
        margin: 0;
    }
}

/* Stare style usunięte - używamy uniwersalnych stylów powyżej */

.method-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.method-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}


.method-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #1f2937;
    color: white;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.method-button:hover {
    background-color: #374151;
}

.method-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.3);
}

/* Step Content */
.step-content {
    min-height: 24rem;
}

/* Summary Components */
.summary-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.summary-section {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
}

.summary-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.method-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #1f2937;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.additional-params {
    margin-top: 1rem;
}

.additional-params h4 {
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.5rem;
}

.additional-params ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.additional-params li {
    margin-bottom: 0.25rem;
}


.product-details h4 {
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.5rem;
}

.product-meta {
    font-size: 0.875rem;
    color: #6b7280;
}

.product-meta > * {
    margin-bottom: 0.25rem;
}

.address-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.address-line {
    color: #111827;
    margin-bottom: 0.25rem;
}

.address-additional {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background-color: #f9fafb;
    border-radius: 4px;
    font-size: 0.875rem;
}

.price-summary {
    border-left: 4px solid #1f2937;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.price-row.total {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    font-size: 1.125rem;
    font-weight: bold;
}

.price-row.free-transport span:last-child {
    color: #059669;
    font-weight: 600;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .summary-actions {
        flex-direction: row;
    }
}

.pending-analysis-notice {
    background-color: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notice-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: #2563eb;
}

.notice-content h3 {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.notice-content p {
    color: #1d4ed8;
}
border-radius: unset;
/* Step Containers - Redesigned */
.step-container {
    display: none;
    width: 100%;
    animation: fadeInStep 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
}

.step-container.active {
    display: flex;
    flex-direction: column;
}

/* Step header */
.step-header {
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(45, 80, 22, 0.1);
}

.step-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.025em;
}

.step-description {
    font-size: 1rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Step content grid */
.step-content-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    flex: 1;
}

@media (min-width: 640px) {
    .step-content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .step-content-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1280px) {
    .step-content-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Forms styling */
.parameters-form,
.address-form {
    max-width: 600px;
    margin: 0 auto;
}

/* M² Options - Compact Layout */
.m2-options-container {
    padding: 0;
}

.option-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .option-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

.option-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(45, 80, 22, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.option-card:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 80, 22, 0.3);
    box-shadow: 
        0 10px 30px rgba(45, 80, 22, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.05);
}

.option-card.selected {
    border-color: var(--primary-green);
    background: rgba(45, 80, 22, 0.05);
    box-shadow: 
        0 8px 25px rgba(45, 80, 22, 0.15),
        0 0 0 1px var(--primary-green);
}

.option-card:hover {
    border-color: #1f2937;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.option-card.active {
    border-color: #1f2937;
    background-color: #f9fafb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.option-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.option-card p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Clutter Options - Compact Responsive Layout */
.clutter-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Responsive: 2 columns on tablet+ */
@media (min-width: 768px) {
    .clutter-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* 3+ columns on larger screens */
@media (min-width: 1280px) {
    .clutter-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.clutter-option {
    cursor: pointer;
}

.clutter-option input[type="radio"] {
    display: none;
}

.clutter-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 0.75rem;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    justify-content: space-between;
    overflow: hidden;
}

.clutter-option input[type="radio"]:checked + .clutter-card {
    border: 2px solid #2D5016;
    background: rgba(45, 80, 22, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.2);
    transform: translateY(-2px);
}

.clutter-card:hover {
    border-color: rgba(45, 80, 22, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.clutter-card h5 {
    font-weight: 600;
    color: #111827;
    margin: 0.5rem 0 0.25rem 0;
    font-size: 0.95rem;
}

.clutter-card p {
    color: #6b7280;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.3;
}

.clutter-card .price {
    color: #2D5016;
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.clutter-visual {
    height: 100%;
    width: 100%;
    position: absolute;
}

.clutter-visual i {
    font-size: 4rem;
    color: var(--primary-color, #E55722);
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
    opacity: 0.8;
}

.multiplier {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #1f2937;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Room Items */
.room-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.room-item h4 {
    color: #111827;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove-room {
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-room:hover {
    background: #991b1b;
}

.room-actions {
    margin: 1.5rem 0;
    text-align: center;
}

.rooms-summary {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: center;
}

.total-area {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e40af;
}

/* Input Groups in M² Forms */
.m2-options-container .ekobus-input-group {
    margin-bottom: 1.5rem;
}

.m2-options-container .ekobus-input-group label {
    display: block;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.5rem;
}

.m2-options-container .ekobus-input-group input,
.m2-options-container .ekobus-input-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
}

.m2-options-container .ekobus-input-group input:focus,
.m2-options-container .ekobus-input-group select:focus {
    outline: none;
    border-color: #1f2937;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.1);
}

.m2-options-container .ekobus-input-group small {
    color: #6b7280;
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
}

/* Responsive adjustments for M² forms */
@media (max-width: 767px) {
    .option-selector {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .room-item {
        padding: 1rem;
    }
}

.product-selection {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.services-list {
    margin: 2rem 0;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.2s;
}

.service-item:hover {
    border-color: #1f2937;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-item input[type="checkbox"] {
    margin-right: 1rem;
    transform: scale(1.2);
}

.service-item label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
}

/* Photo upload styling */
.photo-upload {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

/* Removed duplicate - see Photo Upload Area section below */

/* Order summary styling */
.order-summary {
    max-width: 600px;
    margin: 0 auto;
}

/* New Summary Grid Styles */
.summary-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.summary-label {
    font-weight: 600;
    color: #374151;
    flex-shrink: 0;
}

.summary-value {
    font-weight: 500;
    color: #1f2937;
    text-align: right;
    flex-grow: 1;
    margin-left: 1rem;
}

/* Transport Summary Styles */
.transport-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.transport-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.transport-city {
    font-weight: 500;
    color: #1f2937;
}


.transport-distance {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Total Summary Section */
.total-summary-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff5f0 0%, #ffede6 100%);
    border: 2px solid #E55722;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
}

.total-summary-content {
    text-align: center;
}

.total-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D5016;
    margin: 0 0 1rem 0;
}

.total-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #E55722;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Cost Breakdown Styles */
.summary-item.breakdown {
    flex-direction: column;
    align-items: stretch;
}

.summary-item.breakdown .summary-label {
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.breakdown-details {
    width: 100%;
}

/* Main cost inline styling */
.main-cost-inline {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.1em;
    margin-left: 0.5rem;
}

.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
}

.breakdown-item.additional {
    background: #fef3c7;
    border-color: #f59e0b;
}

.item-desc {
    font-weight: 500;
    color: #374151;
    flex-grow: 1;
}

.item-cost {
    font-weight: 600;
    color: #059669;
    text-align: right;
    margin-left: 1rem;
    flex-shrink: 0;
}

.breakdown-item.additional .item-cost {
    color: #d97706;
}

.breakdown-item.main-cost {
    background: #f0fdf4;
    border-color: #22c55e;
}

.breakdown-item.main-cost .item-cost {
    color: #15803d;
    font-weight: 700;
}

/* Toggle Details Button */
.breakdown-details-toggle {
    margin-top: 1rem;
    text-align: center;
}

.toggle-details-btn {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
    transition: all 0.2s;
}

.toggle-details-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

/* Breakdown Details Content */
.breakdown-details-content {
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

.detailed-breakdown h4 {
    margin: 0 0 0.5rem 0;
    color: #374151;
    font-size: 1rem;
}

.method-details {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6b7280;
}

.selected-method,
.price-summary,
.customer-data {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.total-price {
    font-size: 1.5rem;
    color: #1f2937;
    text-align: center;
    margin: 1rem 0;
}

.place-order {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: #059669;
    border-color: #059669;
}

.place-order:hover {
    background-color: #047857;
    border-color: #047857;
}

/* Error messages */
.error-message {
    text-align: center;
    padding: 2rem;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin: 1rem;
}

/* Workflow notification */
.workflow-notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    animation: slideDown 0.3s ease-out;
}

.workflow-notification--warning {
    background-color: #fffbeb;
    border: 1px solid #fed7aa;
    color: #92400e;
}

.workflow-notification--error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.workflow-notification--success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

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

.notification-close {
    margin-left: 0.75rem;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    line-height: 1;
}

.notification-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Custom Variables - Compact Layout */
.ekobus-custom-variables {
    margin: 2rem 0;
}

.ekobus-custom-variables h3 {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ekobus-custom-variables .description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.custom-variables-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Responsive: 2 columns on tablet+ */
@media (min-width: 768px) {
    .custom-variables-form {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3+ columns on larger screens */
@media (min-width: 1280px) {
    .custom-variables-form {
        grid-template-columns: repeat(3, 1fr);
    }
}

.variable-group {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.variable-group:hover {
    border-color: rgba(45, 80, 22, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.variable-group h4 {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.variable-group h4 .required-indicator {
    color: #dc2626;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.variable-group select,
.variable-group input[type="text"],
.variable-group input[type="number"],
.variable-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.variable-group select:focus,
.variable-group input:focus,
.variable-group textarea:focus {
    outline: none;
    border-color: #2D5016;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.variable-group textarea {
    resize: vertical;
    min-height: 3rem;
}

/* Radio Options Styling */
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: rgba(45, 80, 22, 0.3);
    background: rgba(45, 80, 22, 0.05);
    transform: translateY(-1px);
}

.radio-option input[type="radio"] {
    margin: 0;
    width: auto;
    flex-shrink: 0;
    accent-color: #E55722;
}

.radio-option .option-label {
    flex: 1;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.4;
}

.radio-option .price-info {
    font-weight: 600;
    color: #059669;
}

.radio-option input[type="radio"]:checked + .option-label {
    color: #111827;
    font-weight: 500;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-green);
    background: rgba(45, 80, 22, 0.1);
    box-shadow: 0 0 0 1px rgba(45, 80, 22, 0.2);
}

/* M³ Form Layout */
.m3-form .dimensions-input {
    text-align: center;
}

.m3-form .dimensions-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1.5rem;
    display: block;
}

.m3-form .dimensions-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.m3-form .dimension-input {
    flex: 1;
    max-width: 100px;
}

.m3-form .dimension-input label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.m3-form .dimension-field {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.m3-form .dimension-field:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.m3-form .dimension-separator {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6b7280;
    margin: 0 0.5rem;
    align-self: center;
    margin-top: 1.5rem;
}

.m3-form .calculated-volume-display {
    background: linear-gradient(135deg, #E55722, #B8441A);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.m3-form .volume-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.m3-form .volume-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.m3-form .volume-value {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.m3-form .volume-unit {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Mobile responsiveness */
@media (max-width: 768px) {    
    .m3-form .dimension-separator {
        margin: 0.5rem 0;
        margin-top: 0;
    }
    
    .m3-form .dimension-input {
        max-width: none;
        width: 100%;
    }
    
    .m3-form .volume-result {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 330px) {
    .m3-form .dimensions-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================
   Manual Product Selector Styles
   ======================================== */

.ekobus-manual-selector {
    max-width: 1200px;
    margin: 0 auto;
}

.method-header {
    text-align: center;
    margin-bottom: 40px;
}

.method-header h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.method-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Search and Filter Section */
.product-search-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 1;
}

.product-search-section.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 0;
    padding: 13px 20px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.search-input-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.search-btn {
    background: #0056b3;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background: #004494;
}

.filter-controls {
    display: flex;
    gap: 10px;
}

.filter-controls select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background: white;
}

/* Products Grid */
.products-section {
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
    
    /* Mobile: 1 column below 250px, 2 columns above 250px */
    grid-template-columns: 1fr;
}

@media (min-width: 250px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 2 columns on smaller desktop, 5-6 on larger */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1280px) {
    .products-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.product-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px;
    transition: all 0.2s ease;
    position: relative;
    
    /* Always square aspect ratio */
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.product-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #0056b3;
}

.product-item.selected {
    border-color: #28a745;
    background: #f8fff9;
}

.product-image {
    width: 100%;
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.product-info {
    margin-bottom: 8px;
    flex-none;
}

.product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.2;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 0.875rem;
    font-weight: bold;
    color: #0056b3;
    margin: 0;
    flex-none;
}

.product-duration {
    display: none !important;
}

/* Quantity Controls */
.product-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.5;
    transition: opacity 0.2s;
    flex-none;
}

.quantity-controls.active {
    opacity: 1;
}

.quantity-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: #f0f0f0;
    border-color: #0056b3;
}

.quantity-btn.increase {
    color: #28a745;
}

.quantity-btn.decrease {
    color: #dc3545;
}

.quantity-display {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

/* Selected Products Section */
.selected-products-section {
    border-radius: 8px;
}

.selected-products-section h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
}

.selected-products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.selected-product-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.selected-product-item .product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
}

.selected-product-item .quantity-and-remove {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    background: #fff;
    padding: 0.5rem;
    border-radius: 6px;
}

.selected-product-item .product-info img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
}

.selected-product-item .product-details h5 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
}

.selected-product-item .quantity-controls input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: #c82333;
}

/* Summary */
.selected-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.selected-summary .summary-item {
    text-align: center;
}

.selected-summary .summary-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.selected-summary .summary-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

/* Loading Spinner */
div#loadingSection {
    text-align: center;
}

.loading-spinner {
    text-align: center;
    width: 40px;
    height: 40px;
    z-index: 99;
    background: #fff;
    left: 0;
    display: inline-block;
    animation: spin 1s linear infinite;
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    border-color: var(--color-gray-300, #d1d5db);
    border-top-color: oklch(0.42 0.1 135);
}


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

/* Load More Button */
.load-more-btn {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 12px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.load-more-btn:hover {
    background: #545b62;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input-wrapper {
        min-width: auto;
    }
    
    .filter-controls {
        flex-direction: column;
    }
    

    .selected-product-item {
        flex-wrap: wrap;
    }

    .selected-product-item .product-info {
        flex: 1 1 100%;
    }

    .selected-product-item .quantity-and-remove {
        flex: 1 1 100%;
        justify-content: space-between;
        gap: 1rem;
    }

    .selected-product-item .quantity-and-remove .quantity-controls {
        flex: 1;
    }

    .selected-summary {
        flex-direction: column;
        gap: 15px;
    }
}

/* City Transport Calculator */
.city-transport-calculator {
    background: var(--card-background, #ffffff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ekobus-custom-variables {
    max-width: 800px;
    margin: auto;
}

/* Detailed Address Section */
.detailed-address-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.detailed-address-title {
    color: #343a40;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.detailed-address-description {
    color: #6c757d;
    font-size: 14px;
    margin: 0 0 15px 0;
}

.address-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.address-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.address-label {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.address-input {
    padding: 12px 15px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.address-input:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.address-input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.address-summary {
    background: white;
    border: 1px solid #d4edda;
    border-radius: 6px;
    padding: 15px;
    margin-top: 10px;
}

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

.summary-icon {
    font-size: 18px;
}

.summary-title {
    font-weight: 600;
    color: #155724;
    font-size: 14px;
}

.full-address {
    color: #495057;
    font-size: 16px;
    font-weight: 500;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
}

/* ========================================
   Photo Upload Step
   ======================================== */

.ekobus-photo-upload-step {
    max-width: 1200px;
    margin: 0 auto;
}

.ekobus-photo-upload-step .step-header {
    margin-bottom: 2rem;
}

.ekobus-photo-upload-step .step-description {
    color: #666;
    font-size: 16px;
    margin-top: 0.5rem;
}

/* Photo Upload Area - Compact Design */
.photo-upload-area {
    margin: 1.5rem 0;
}

.upload-zone {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.25s ease;
    background: #f9fafb;
    cursor: pointer;
    max-width: 500px;
    margin: 0 auto;
}

.upload-zone:hover,
.upload-zone.highlight {
    border-color: var(--primary-green, #2d5016);
    background: rgba(45, 80, 22, 0.03);
    transform: translateY(-2px);
}

.upload-icon {
    color: #9ca3af;
    position: absolute;
}

.upload-icon i {
    font-size: 48px;
}

.upload-zone h3 {
    margin: 0.5rem 0;
    color: #1f2937;
    font-size: 1.125rem;
    font-weight: 600;
}

.upload-zone p {
    color: #6b7280;
    margin: 0.25rem 0;
    font-size: 0.875rem;
}

.btn-browse {
    background: var(--primary-green, #2d5016);
    color: white;
    padding: 0.625rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0.75rem 0 0.5rem;
}

.btn-browse:hover {
    background: #1f3610;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(45, 80, 22, 0.25);
}

.upload-info {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 0.5rem;
}

/* Uploaded Photos - Compact Grid */
.uploaded-photos {
    margin: 2.5rem auto;
    max-width: 700px;
}

.uploaded-photos h3 {
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1.125rem;
    font-weight: 600;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.photo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-remove-photo {
    position: absolute;
    top: 0.375rem;
    right: 0.375rem;
    background: rgba(220, 53, 69, 0.95);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    padding: 0;
}

.btn-remove-photo svg {
    width: 16px;
    height: 16px;
}

.photo-item:hover .btn-remove-photo {
    opacity: 1;
}

.btn-remove-photo:hover {
    background: #c82333;
    transform: scale(1.1);
}

@media (min-width: 640px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
}

/* Method Selection */
.valuation-method-selection {
    margin-top: 3rem;
}

.valuation-method-selection h3 {
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

/* AI Processing Overlay */
.ai-processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.processing-content {
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.processing-content .spinner {
    width: 64px;
    height: 64px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-green, #2d5016);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

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

.processing-content h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.processing-content p {
    color: #6b7280;
    margin: 0 0 1.5rem;
    font-size: 1rem;
}

.progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green, #2d5016), #5a9c2f);
    border-radius: 3px;
    animation: progressAnimation 2s ease-in-out infinite;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

#ai-error-actions button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#ai-error-actions .btn-primary {
    background: var(--primary-green, #2d5016);
    color: white;
}

#ai-error-actions .btn-primary:hover {
    background: #1f3610;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

#ai-error-actions .btn-secondary {
    background: #6b7280;
    color: white;
}

#ai-error-actions .btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* AI Suggested Products Badge */
.selected-product-item.ai-suggested {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.05), transparent);
}

.ai-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 0.375rem;
    border-radius: 0 8px 0 8px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    z-index: 10;
    width: 28px;
    height: 28px;
}

.ai-badge i {
    font-size: 0.875rem;
}

.selected-product-item {
    position: relative;
}

/* Expert Valuation Modal */
.expert-valuation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.expert-valuation-modal[style*="display: block"],
.expert-valuation-modal.show {
    display: flex !important;
}

.expert-valuation-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.expert-valuation-modal .modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.expert-valuation-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.expert-valuation-modal .modal-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.expert-valuation-modal h3 {
    color: #111827;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.expert-valuation-modal .modal-description {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
}

.expert-form .form-group {
    margin-bottom: 1.25rem;
}

.expert-form .form-row {
    display: block;
    margin-bottom: 1rem;
}

.expert-form .form-field {
    margin-bottom: 1rem;
}

.expert-form label {
    display: block;
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.expert-form label .required {
    color: #dc2626;
    margin-left: 0.25rem;
}

.expert-form input,
.expert-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.expert-form input:focus,
.expert-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.expert-form .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

.expert-form .form-actions button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.expert-form .btn-primary {
    background: #2D5016;
    color: white;
}

.expert-form .btn-primary:hover {
    background: #234010;
}

.expert-form .btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.expert-form .btn-secondary:hover {
    background: #e5e7eb;
}

@media (max-width: 640px) {
    .expert-form .form-actions {
        flex-direction: column-reverse;
    }

    .expert-form .form-actions button {
        width: 100%;
    }
}

/* Expert Success View */
#expert-success-view {
    text-align: center;
    padding: 2rem 0;
}

#expert-success-view .success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

#expert-success-view h3 {
    color: #111827;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#expert-success-view .modal-description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

#expert-success-view .success-redirect-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    color: #6b7280;
    font-size: 0.95rem;
}

#expert-success-view .success-redirect-info i {
    color: #3b82f6;
}

/* AI Notification Banner */
.ai-notification-banner {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    color: white;
}

.ai-notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.ai-notification-banner .ai-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.ai-notification-text {
    flex: 1;
}

.ai-notification-text strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.ai-notification-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.scroll-to-products {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.scroll-to-products:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.scroll-to-products i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .ai-notification-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .ai-notification-content {
        flex-direction: column;
    }

    .scroll-to-products {
        justify-content: center;
        width: 100%;
    }
}
