/* Order Page Specific Styles */

.order-main {
    margin-top: 120px;
    min-height: calc(100vh - 120px);
    background: var(--light-grey);
    padding: 60px 0;
}

.order-container {
    max-width: 1440px;
    margin: 0 auto;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    gap: 24px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #999;
    font-weight: 600;
}

.progress-step.active {
    color: var(--z2u-blue);
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e0e0e0;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s;
}

.progress-step.active .step-circle {
    background: var(--z2u-blue);
}

.progress-line {
    width: 120px;
    height: 2px;
    background: #e0e0e0;
}

/* Error Message */
.error-message {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.error-icon {
    font-size: 24px;
    color: #d00;
    cursor: pointer;
}

.error-message strong {
    display: block;
    color: #d00;
    margin-bottom: 4px;
}

.close-error {
    margin-left: auto;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

/* Order Title */
.order-title {
    font-size: 42px;
    color: var(--z2u-grey);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Order Type Selector */
.order-type-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.order-type-btn {
    padding: 12px 32px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.order-type-btn.active {
    background: var(--z2u-blue);
    color: var(--white);
    border-color: var(--z2u-blue);
}

/* Services Selection Grid */
.services-selection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.service-selection-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-selection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-selection-card h3 {
    font-size: 24px;
    color: var(--z2u-grey);
    margin-bottom: 24px;
    text-align: center;
    font-weight: 700;
    min-height: 60px;
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Order Type Mini Selector */
.order-type-mini {
    margin-bottom: 16px;
}

.order-type-mini label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--z2u-grey);
}

.order-type-mini select {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
}

/* Bin Size Selector */
.bin-size-selector {
    margin-bottom: 16px;
}

.bin-size-selector label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--z2u-grey);
}

.switch-group {
    display: flex;
    gap: 0;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 4px;
}

.switch-btn {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--z2u-grey);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.switch-btn:hover {
    background: rgba(0, 167, 226, 0.1);
}

.switch-btn.active {
    background: var(--z2u-blue);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 167, 226, 0.3);
}

.radio-group {
    display: flex;
    gap: 12px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 400;
}

.radio-group input[type="radio"] {
    cursor: pointer;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quantity-selector label {
    font-size: 14px;
    font-weight: 600;
    color: var(--z2u-grey);
}

.quantity-selector select {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
}

/* Buttons */
.order-now-btn,
.quote-btn {
    width: 100%;
    padding: 12px 24px;
    background: var(--z2u-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.order-now-btn:hover,
.quote-btn:hover {
    background: #0091c7;
}

.quote-btn {
    background: var(--z2u-grey);
}

.quote-btn:hover {
    background: #3a3d41;
}

/* Service Features List */
.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
}

.service-features-list li {
    color: var(--z2u-grey);
}

/* Quote Card Styling */
.quote-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Step 2: Order Details */
.form-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-btn {
    padding: 10px 20px;
    background: var(--white);
    color: var(--z2u-blue);
    border: 2px solid var(--z2u-blue);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.back-btn:hover {
    background: var(--z2u-blue);
    color: var(--white);
}

.form-section h2 {
    font-size: 32px;
    color: var(--z2u-grey);
    margin-bottom: 32px;
    font-weight: 700;
}

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

.form-group h3 {
    font-size: 20px;
    color: var(--z2u-grey);
    margin-bottom: 16px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--z2u-grey);
    margin-bottom: 8px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--z2u-blue);
}

.form-field textarea {
    resize: vertical;
}

.premium-badge {
    color: var(--z2u-blue);
    font-size: 12px;
    font-weight: 600;
}

/* Quick Date Buttons */
.quick-dates-container {
    margin: 20px 0;
    padding: 20px;
    background: #f0f7ff;
    border-radius: 8px;
    border: 1px solid #b3d9ff;
}

.quick-dates-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--z2u-grey);
    margin-bottom: 12px;
}

.quick-dates-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-date-btn {
    flex: 1;
    min-width: 150px;
    padding: 14px 20px;
    background: var(--white);
    border: 2px solid var(--z2u-blue);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.quick-date-btn:hover {
    background: var(--z2u-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 167, 226, 0.3);
}

.quick-date-btn.selected {
    background: var(--z2u-blue);
    color: var(--white);
}

.quick-date-day {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.quick-date-date {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

/* Responsive for quick date buttons */
@media (max-width: 768px) {
    .quick-dates-buttons {
        flex-direction: column;
    }
    
    .quick-date-btn {
        min-width: 100%;
    }
}

/* Inline Calendar */
.calendar-container {
    margin-top: 16px;
}

.selected-date-display {
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid var(--z2u-blue);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--z2u-grey);
    margin-bottom: 16px;
    text-align: center;
}

.inline-calendar {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.calendar-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--z2u-grey);
    margin: 0;
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-nav button {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--z2u-grey);
    transition: all 0.3s;
}

.calendar-nav button:hover {
    background: var(--z2u-blue);
    color: var(--white);
    border-color: var(--z2u-blue);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #666;
    padding: 8px 0;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--z2u-grey);
    cursor: pointer;
    transition: all 0.3s;
    background: var(--white);
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: #e6f7ff;
    border-color: var(--z2u-blue);
    transform: scale(1.05);
}

.calendar-day.selected {
    background: var(--z2u-blue);
    color: var(--white);
    border-color: var(--z2u-blue);
    font-weight: 700;
}

.calendar-day.today {
    border: 2px solid var(--z2u-blue);
    font-weight: 700;
}

.calendar-day.disabled {
    background: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
    border-color: #f0f0f0;
}

.calendar-day.disabled:hover {
    transform: none;
}

.calendar-day.empty {
    border: none;
    cursor: default;
}

.calendar-day.past {
    background: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
    border-color: #f0f0f0;
}

.weekend-note {
    margin-top: 12px;
    padding: 10px 14px;
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
    font-size: 13px;
    color: #856404;
}

.weekend-note strong {
    font-weight: 700;
}

/* Important Information */
.important-info {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin-bottom: 24px;
    border-radius: 4px;
}

.important-info h4 {
    font-size: 16px;
    color: var(--z2u-grey);
    margin-bottom: 12px;
    font-weight: 600;
}

.important-info ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.important-info li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--z2u-grey);
    margin-bottom: 8px;
}

.form-field a {
    color: var(--z2u-blue);
    text-decoration: none;
}

.form-field a:hover {
    text-decoration: underline;
}

/* Order Summary */
.order-summary {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 140px;
}

.order-summary h3 {
    font-size: 24px;
    color: var(--z2u-grey);
    margin-bottom: 24px;
    font-weight: 700;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--z2u-grey);
}

.summary-item span:first-child {
    font-weight: 600;
}

.summary-item span:last-child {
    text-align: right;
}

.summary-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 16px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    color: var(--z2u-grey);
    margin-top: 16px;
}

.payment-section {
    margin: 24px 0;
}

.payment-section h4 {
    font-size: 16px;
    color: var(--z2u-grey);
    margin-bottom: 12px;
    font-weight: 600;
}

/* Stripe Card Element Styling */
.stripe-card-element-container {
    margin-top: 8px;
}

.stripe-card-element {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s;
}

.stripe-card-element:hover {
    border-color: var(--z2u-blue);
}

.stripe-card-element.StripeElement--focus {
    border-color: var(--z2u-blue);
    box-shadow: 0 0 0 3px rgba(0, 160, 223, 0.1);
}

.stripe-card-element.StripeElement--invalid {
    border-color: #e74c3c;
}

.stripe-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    min-height: 20px;
}

/* Legacy payment button (kept for backwards compatibility) */
.payment-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.payment-btn:hover {
    border-color: var(--z2u-blue);
    color: var(--z2u-blue);
}

.place-order-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--z2u-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn {
    padding: 16px 32px;
    background: var(--z2u-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    min-width: 200px;
}

.submit-btn:hover {
    background: #0088b8;
}

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

.place-order-btn:hover {
    background: #0091c7;
}

.place-order-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Contact Bar */
.contact-bar {
    background: var(--z2u-blue);
    color: var(--white);
    padding: 20px 0;
}

.contact-bar-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 96px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-hours {
    font-size: 14px;
    line-height: 1.6;
}

.contact-phone {
    font-size: 24px;
    font-weight: 700;
}

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

@media (max-width: 1200px) {
    .services-selection-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .order-container {
        padding: 0 24px;
    }

    .services-selection-grid {
        grid-template-columns: 1fr;
    }

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

    .order-title {
        font-size: 28px;
    }

    .progress-steps {
        flex-direction: column;
    }

    .progress-line {
        width: 2px;
        height: 40px;
        transform: rotate(90deg);
    }

    .contact-bar-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .form-section {
        padding: 24px;
    }

    .order-summary {
        padding: 24px;
    }

    /* Calendar responsive */
    .inline-calendar {
        padding: 16px;
    }

    .calendar-header h4 {
        font-size: 16px;
    }

    .calendar-nav button {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .calendar-weekday {
        font-size: 10px;
        padding: 6px 0;
    }

    .calendar-day {
        font-size: 12px;
    }

    .selected-date-display {
        font-size: 14px;
        padding: 10px 12px;
    }

    .weekend-note {
        font-size: 12px;
        padding: 8px 12px;
    }
}

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

    .service-selection-card {
        padding: 20px 16px;
    }

    .order-title {
        font-size: 24px;
    }
}

/* Postcode Not Found Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.modal-dialog {
    width: 90%;
    max-width: 500px;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 22px;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-footer .btn-blue {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    background: var(--z2u-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-footer .btn-blue:hover {
    background: #5569d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .modal-dialog {
        width: 95%;
        margin: 20px;
    }

    .modal-header h3 {
        font-size: 18px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer .btn-blue {
        padding: 10px 24px;
        font-size: 14px;
    }
}

