﻿/*dropdown css*/
.form-item {
    position: relative;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
}

    .dropdown-item:hover {
        background-color: #f1f1f1;
    }

 /*   img reverse css*/
.reverse-box {
    height: 100%;
    min-height: 38px;
    width: 48px;
    max-width: 60px;
    border-left: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

  .reverse-box img {
        max-width: 100%;
        max-height: 100%;
        height: auto;
        width: auto;
    }


.info-section {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
}

.info-toggle {
    cursor: pointer;
    color: #007bff;
    text-decoration: underline;
}



.selectable-point {
    border: 2px solid #ccc;
    padding: 10px 40px 10px 10px; /* Leave space for radio */
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    background-color: #f9f9f9;
    position: relative;
}

    .selectable-point::after {
        content: "";
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        border: 2px solid #555;
        border-radius: 50%;
        background-color: white;
        box-sizing: border-box;
    }

    .selectable-point.selected::after {
        background-color: #007bff;
        box-shadow: inset 0 0 0 4px white;
        border-color: #007bff;
    }

.showboardingAndDroping {
    border: 1px solid grey;
    border-radius: 5px;
}


.seat {
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
}

    .seat.available {
        background-color: #eaffea;
        border: 1px solid green;
    }

    /* Unavailable seat styling */
    .seat.unavailable {
        background-color: #f5f5f5;
        border: 1px solid grey;
        cursor: not-allowed;
    }

/*  seat SVG wrapper */
.seatdesigen {
    display: flex;
    justify-content: center;
    align-items: center;
}

.seatdefine {
    border: 1px solid lightgrey;
    border-radius: 10px;
}

  
.TravellerDetails {
    min-height: 100px;
    border: 1px solid lightgrey;
    border-radius: 5px;
    box-shadow: 1px 2px 2px 1px grey;
    margin: 10px;
    padding: 10px;
}



.showboardingAndDroping {
    border: 1px solid grey;
    border-radius: 5px;
}

.seat-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.seat-item {
    display: inline-block;
    text-align: center;
    margin: 4px;
    width: 50px; /* Ensure all sleeper seats are equally spaced */
}

/* (upper or lower) */
.deck-section {
    margin-bottom: 20px;
}


.seat-row {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}

.seat {
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
}

    .seat.available {
        background-color: #eaffea;
        border: 1px solid green;
    }

    /* Unavailable seat styling */
    .seat.unavailable {
        background-color: #f5f5f5;
        border: 1px solid grey;
        cursor: not-allowed;
    }

/*  seat SVG wrapper */
.seatdesigen {
    display: flex;
    justify-content: center;
    align-items: center;
}

.seatdefine {
    border: 1px solid lightgrey;
    border-radius: 10px;
}



/* Modal Styles */
.modal-content {
    background-color: #f9f9f9;
    padding: 20px;
}

.modal-body {
    font-size: 16px;
}

.modal-title {
    font-weight: bold;
}
