
.bus-seat-management {
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    -webkit-box-shadow: 0 0 15px 3px rgba(27, 39, 61, 0.05);
    box-shadow: 0 0 15px 3px rgba(27, 39, 61, 0.05);
    width: 100%;
}

.bus-seat-management .all-seats li {
    font-size: 24px;
    padding: 5px;
}

.seat-plan-wrapper {
    width: 100%;
    margin-top: 40px;
    display: none;
    position: relative;
    z-index: 1;
    background: #fff;
}

.seat-plan-wrapper.selected {
    display: block;
}

.seat-plan-inner {
    margin-top: 25px;
}

.seat-plan-inner .single {
    position: relative;
    border: 0.5px solid #00000028;
    min-height: 150px;
    max-width: 100%;
    padding: 80px 25px 30px;
    margin-bottom: 55px;
}

@media (max-width: 1199px) {
    .seat-plan-inner .single {
        padding-top: 60px;
    }
}

.seat-plan-inner .front {
    position: absolute;
    width: 60px;
    height: 25px;
    top: -13px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
    z-index: 1;
    color: #9b9b9b;
    background: #f1f1f1;
    letter-spacing: 1px;
}

.seat-plan-inner .rear {
    position: absolute;
    width: 60px;
    height: 25px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: -13px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
    z-index: 23;
    color: #9b9b9b;
    background: #f1f1f1;
    letter-spacing: 1px;
}

.seat-plan-inner .lower {
    width: 50px;
    height: 40px;
    position: absolute;
    left: 20px;
    top: 20px;
    color: #777;
    font-weight: 600;
    text-transform: uppercase;
}

.seat-plan-inner .driver {
    position: absolute;
    right: 20px;
    top: 15px;
}

.seat-wrapper {
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 15px;
}

.seat-wrapper .reserve-for-ladies .seat {
    color: #777 !important;
}

.seat-wrapper .left-side,
.seat-wrapper .right-side {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.seat-wrapper .seat {
    height: 40px;
    width: 30px;
    color: #777;
    border: 1px solid #979797;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    font-weight: 100;
    font-size: 14px;
}

.btn-link:hover{
    color: var(--main-color) !important;
}

@media (max-width: 575px) {
    .seat-wrapper .seat {
        height: 45px;
        width: 30px;
        font-size: 14px;
    }
}

.seat-wrapper .seat span {
    position: absolute;
    left: 2px;
    right: 2px;
    height: 4px;
    border: 1px solid rgba(27, 39, 61, 0.25);
    border-radius: 2px;
    bottom: 6px;
}

.seat-wrapper .seat.selected {
    border-color: rgb(57, 163, 57);
    background: rgb(57, 163, 57);
    color: #fff;
}

.seat-wrapper .seat.selected span {
    background: #fff;
    border-color: #fff;
}

.seat-for-reserved {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 0;
    margin-top: 15px;
}

.seat-for-reserved .seat-condition {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 50%;
    padding-bottom: 20px;
}

@media (max-width: 575px) {
    .seat-for-reserved .seat-condition {
        width: 100%;
    }
}

.seat-for-reserved .seat {
    width: 50px;
    height: 18px;
    border: 1px solid #979797;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
}

.seat-for-reserved .seat span {
    position: absolute;
    top: 2px;
    bottom: 2px;
    width: 4px;
    border: 1px solid rgba(27, 39, 61, 0.25);
    right: 7px;
    border-radius: 2px;
}

.seat-for-reserved p {
    display: inline-block;
    font-size: 14px;
    line-height: 1.25;
}

.seat-for-reserved .selected-by-you .seat {
    border-color: rgb(57, 163, 57);
    background: rgb(57, 163, 57);
}

.seat-for-reserved .selected-by-you .seat span {
    background: #fff;
    border-color: #fff;
}

.seat-for-reserved .selected-by-ladies .seat {
    border-color: #f763c6;
    background: #f763c6;
    color: #fff !important;
}
.seat-for-reserved .selected-by-gents .seat {
    border-color: #554bb9;
    background: #554bb9;
    color: #fff !important;
}

.seat-for-reserved .selected-by-ladies .seat span {
    background: #fff;
    border-color: #fff;
}
.seat-for-reserved .selected-by-others .seat {
    border-color: #707d88;
    background: #707d88;
    color: #fff !important;
}

.seat-for-reserved .selected-by-others .seat span {
    background: #fff;
    border-color: #fff;
}
.seat-for-reserved .selected-by-gents .seat span {
    background: #fff;
    border-color: #fff;
}

.seat-for-reserved .reserve-for-ladies .seat {
    border-color: #f763c6;
    background: #fff;
}

.seat-for-reserved .reserve-for-ladies .seat span {
    background: #f763c6;
    border-color: #f763c6;
    color: #fff;
}

.selected-by-you .seat {
    border-color: var(--main-color);
    background: var(--main-color);
}

.selected-by-you .seat span {
    background: #fff;
    border-color: #fff;
}

.selected-by-ladies .seat {
    color: #fff;
    border-color: #f763c6 !important;
    background: #f763c6 !important;
}

.selected-by-ladies .seat span {
    background: #fff !important;
    border-color: #fff !important;
}
.selected-by-others .seat {
    color: #fff;
    border-color: #707d88 !important;
    background: #707d88 !important;
}

.selected-by-others .seat span {
    background: #fff !important;
    border-color: #fff !important;
}
.selected-by-gents .seat {
    color: #fff;
    border-color: #554bb9 !important;
    background: #554bb9 !important;
}

.selected-by-gents .seat span {
    background: #fff !important;
    border-color: #fff !important;
}

.reserve-for-ladies .seat {
    border-color: #f763c6 !important;
    background: #fff !important;
}

.reserve-for-ladies .seat span {
    background: #f763c6 !important;
    border-color: #f763c6 !important;
}

.seat-overview-wrapper {
    border: 1px solid rgba(27, 39, 61, 0.1);
    border-radius: 5px;
    padding: 20px 15px;
    position: sticky;
    top: 100px;
}

@media (min-width: 1200px) {
    .seat-overview-wrapper {
        padding: 30px;
    }
}

.seat-overview-wrapper .boarding-point {
    margin-bottom: 15px;
    height: 40px;
}

.seat-overview-wrapper .destination-point {
    margin-top: 15px;
    height: 40px;
}

.seat-overview-wrapper .seat-info {
    margin-top: 15px;
}

.seat-overview-wrapper .seat-info li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.seat-overview-wrapper .seat-info li .title {
    display: inline-block;
}

.seat-overview-wrapper .seat-info li .value {
    display: inline-block;
}

.seat-overview-wrapper .book-bus-btn {
    height: 40px;
    margin-top: 25px;
}
