/* Book Online Page Styles */
.container {
    /* max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden; */
}

.header {
    background: linear-gradient(135deg, #4949decf, #ff5f13);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.form-section {
    padding: 40px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.form-section.disabled {
    display: none;
}

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

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.section-number {
    background: #ff5f13;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.section-number.completed {
    background: #27ae60;
}

.location-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    height: fit-content;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #ff5f13;
}

.form-control.valid {
    border-color: #27ae60;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.package-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.package-option {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-option:hover,
.package-option.selected {
    border-color: #ff5f13;
    background: #fff5f5;
}

.package-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.package-icon img {
    width: 100%;
}

.weight-display {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
}

.btn {
    background: #00008B;
    color: #ffffff;
    padding: 30px 30px;
    border: 2px solid #00008B;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.btn:hover {
    background: #ffffff;
    color: #ff5f13;
    border-color: #ff5f13;
    transform: translateY(-2px);
}

.progress-bar {
    height: 4px;
    background: #ecf0f1;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff5f13, #f39c12);
    width: 0%;
    transition: width 0.5s ease;
}

@media (max-width: 768px) {
    .location-row,
    .dimensions-grid {
        grid-template-columns: 1fr;
    }
    
    .details-content {
        grid-template-columns: 1fr;
    }
}

.form-section p {
    margin-bottom: 20px;
    color: #555;
}

.delivery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.delivery-header .form-group {
    margin-bottom: 0;
    flex-grow: 1;
}

.delivery-options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.delivery-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delivery-option:hover {
    border-color: #ff5f13;
    background: #fff5f5;
}

.delivery-option.selected {
    border-color: #c0392b;
    background: #fff5f5;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

.delivery-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.delivery-details img {
    width: 50px;
}

.delivery-type-icon {
    font-size: 2rem;
    width: 50px;
    text-align: center;
    color: #FFD700;
    flex-shrink: 0;
}

.delivery-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.delivery-details small {
    font-size: 0.8rem;
    color: #777;
}

.delivery-price-section {
    text-align: right;
}

.delivery-price-section .vat {
    font-size: 0.8rem;
    color: #888;
}

.delivery-price-section .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff5f13;
    margin: 5px 0;
}

.delivery-price-section .booking-btn {
    background: #ff5f13;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.delivery-price-section .booking-btn:hover {
    background: #c0392b;
    color: white;
}

.delivery-price-section .booking-btn.disabled {
    background: #aaa;
    cursor: not-allowed;
    pointer-events: none;
}

.details-and-addons {
    text-align: right;
    color: #ff5f13;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.details-and-addons:hover {
    color: #c0392b;
}

.details-and-addons i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.details-and-addons.expanded i {
    transform: rotate(180deg);
}

/* Expandable Details Section */
.delivery-details-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 25px;
}

.delivery-details-expanded.show {
    max-height: 800px;
    padding: 25px;
    border-top: 2px solid #f0f0f0;
}

.details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.details-column h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.detail-item i {
    color: #27ae60;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 0.9rem;
}

.detail-item span {
    color: #555;
    line-height: 1.5;
}

/* Add-ons Section */
.addons-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.addons-section h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.addon-item:hover {
    background: #fff;
    border-color: #ff5f13;
}

.addon-item.selected {
    background: #fff5f5;
    border-color: #ff5f13;
}

.addon-info {
    flex: 1;
}

.addon-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.addon-description {
    font-size: 0.85rem;
    color: #777;
}

.addon-price {
    font-weight: 700;
    color: #ff5f13;
    font-size: 1rem;
    margin-left: 20px;
}

.addon-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: 15px;
}

/* Updated Total Price Display */
.delivery-price-section .price-breakdown {
    text-align: right;
    margin-bottom: 10px;
}

.price-line {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.price-line .label {
    color: #666;
}

.price-line .amount {
    font-weight: 600;
    color: #2c3e50;
    min-width: 120px;
    text-align: right;
}

.price-line.total {
    font-size: 1rem;
    padding-top: 8px;
    border-top: 1px solid #ddd;
    margin-top: 8px;
}

.price-line.total .amount {
    font-size: 1.8rem;
    color: #ff5f13;
}

.header-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 20px;
}

.header-controls .form-group {
    margin-bottom: 0;
    min-width: 200px;
}

.sort-dropdown-container {
    position: relative;
    cursor: pointer;
}

.sort-dropdown-toggle {
    padding: 12px 30px 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fff;
    display: block;
    width: 100%;
    position: relative;
}

.sort-dropdown-toggle::after {
    content: '⌄';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.sort-options-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    list-style: none;
    padding: 5px 0;
    margin-top: -2px;
    z-index: 10;
    display: none;
}

.sort-options-list.show {
    display: block;
}

.sort-options-list li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sort-options-list li:hover {
    background-color: #f5f5f5;
}

.form-section.completed-section .form-content,
.form-section.completed-section .btn {
    display: none;
}

.form-section .summary-text {
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
}

.success-message {
    text-align: center;
    padding: 50px;
    color: #27ae60;
}

.success-message h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.success-message p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.success-message .btn {
    width: auto;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    display: none;
}

.loading-screen.active {
    display: flex;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #ff5f13;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

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

/* City select loading state */
.form-group.city-loading {
    position: relative;
}

.form-group.city-loading::after {
    content: '';
    position: absolute;
    right: 12px;
    bottom: 11px;
    width: 16px;
    height: 16px;
    border: 2px solid #e0e0e0;
    border-top-color: #ff5f13;
    border-radius: 50%;
    animation: city-spin 0.6s linear infinite;
    pointer-events: none;
}

@keyframes city-spin {
    to { transform: rotate(360deg); }
}

select[data-no-nice-select] {
    appearance: auto;
    -webkit-appearance: auto;
    background-color: #fff;
    cursor: pointer;
}

select[data-no-nice-select]:disabled {
    background-color: #f5f5f5;
    cursor: wait;
    opacity: 0.85;
}
}