/* Transport Options Styling */
#transportOptionsContainer {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(51, 187, 255, 0.3);
    border-radius: 4px;
    background-color: rgba(20, 40, 65, 0.7);
}

.section-header {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #66ccff;
    border-bottom: 1px solid rgba(51, 187, 255, 0.2);
    padding-bottom: 0.5rem;
}

.transport-option {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(51, 187, 255, 0.1);
}

.transport-option:last-child {
    border-bottom: none;
}

.transport-option .option-row {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    margin: 0;
    padding: 0.5rem 0;
}

/* Hide the default radio button */
.transport-option input[type="radio"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

/* Custom radio button styling */
.radio-custom {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #33bbff;
    background-color: transparent;
    margin-right: 10px;
    position: relative;
}

/* Style for the selected radio button */
.transport-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #33bbff;
}

.transport-option .option-details {
    display: flex;
    flex-direction: row; /* Override column from style.css */
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    margin-left: 0.75rem;
    width: 100%;
}

.transport-option .option-info {
    flex-grow: 1;
}

.transport-option .option-name {
    font-weight: bold;
    color: #f0f8ff;
    text-align: left;
}

.transport-option .option-description {
    font-size: 0.9em;
    color: #99aabb;
}

.transport-option .option-price {
    font-weight: bold;
    color: #99ddff;
    width: 85px;
    text-align: right;
    flex-shrink: 0;
    margin-left: auto;
}

/* Quantity container styling */
.quantity-container {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(51, 187, 255, 0.3);
    border-radius: 4px;
    background-color: rgba(20, 40, 65, 0.7);
}

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

.quantity-label {
    font-weight: bold;
    color: #f0f8ff;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    background-color: #33bbff;
    color: #001f3f;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    user-select: none;
    z-index: 10;
    position: relative;
}

.quantity-btn:hover {
    background-color: #0088cc;
}

.quantity-control input,
.quantity-control .quantity-display {
    width: 40px;
    height: 30px;
    text-align: center;
    border: 1px solid rgba(51, 187, 255, 0.3);
    background-color: rgba(10, 25, 47, 0.9);
    color: #f0f8ff;
    border-radius: 4px;
    padding: 0;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    line-height: 30px;
    box-sizing: border-box;
}

/* Price breakdown styling */
#transportPriceBreakdown {
    margin-top: 2rem;
    padding: 1rem;
    border: 1px solid rgba(51, 187, 255, 0.5);
    border-radius: 6px;
    background-color: rgba(10, 25, 47, 0.9);
}

#transportPriceBreakdown h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #66ccff;
    border-bottom: 1px solid rgba(51, 187, 255, 0.2);
    padding-bottom: 0.5rem;
}

#transportPriceBreakdown p {
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-between;
}

#transportPriceBreakdown p strong {
    color: #f0f8ff;
}

#transportPriceBreakdown span {
    font-weight: bold;
    color: #99ddff;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .transport-option {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .transport-option .option-details {
        flex-wrap: wrap;
        margin-left: 0.5rem;
    }

    .transport-option .option-info {
        flex-basis: 100%;
        margin-bottom: 0.5rem;
    }

    .transport-option .option-price {
        width: auto;
        margin-left: auto;
    }

    .quantity-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .quantity-control {
        margin-left: auto;
        margin-right: auto;
    }
}
