.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}

.tab-btn.active{
    background:#00b14f;
    color:#fff;
	font-size:12px;
}
.taxi-ui{
    max-width: 520px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    font-family: roboto,sans-serif;
}

/* TABS */
.taxi-tabs{
    display: flex;
    padding: 6px;
    border-radius: 50px;
    margin-bottom: 25px;
}
.taxi-tabs button {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
}

.taxi-tabs button.active {
    background: #16A34A;
    color: #FFFFFF;
}

.tab-btn{
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    border: none;
    background: #f3f3f3;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
	font-size:12px;
	color:black;

}

.tab-btn.active{
    background: #00b14f;
    color: #fff;
}

/* LABEL */
.taxi-form label{
    display: block;
    font-weight: 600;
   /*margin: 15px 0 6px;*/
}

/* INPUT / SELECT */
.taxi-form input, .taxi-form select, .taxi-form textarea {
    width: 100% !important;
    height: 52px !important;
    border: 1px solid rgba(155, 155, 155, .4) !important;
    border-radius: 12px !important;
    padding: 0 15px !important;
    background: #fff !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05) !important;
    transition: 0.2s !important;
    font-size: 12px !important;
}
.taxi-form textarea{
    height: 90px;
    padding-top: 10px;
}

.taxi-form input:focus,
.taxi-form select:focus,
.taxi-form textarea:focus{
    border-color: #16A34A;
    box-shadow: 0 5px 15px rgba(0,177,79,.2);
    outline: none;
}

/* PICKUP */
.pickup-item{
    position: relative;
    margin-bottom: 10px;
}

.pickup-item input{
    padding-left: 42px;
    padding-right: 45px;
}

.pickup-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00b14f;
    font-size: 18px;
    margin: -10px;
}


/* DESTINATION */
.destination-wrap{
    position: relative;
}

.destination-wrap input{
    padding-right: 45px;
}


/* OPTIONS */
.taxi-options{
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

/* NOTE */
.toggle-note {
    margin-top: 20px;
    background: none;
    border: none;
    color: #00b14f;
    font-weight: 600;
    cursor: pointer;
    font-size: 12px;
}

.note-box{
    display: none;
    margin-top: 10px;
}

/* SUBMIT */
.btn-submit{
    width: 100%;
    height: 35px;
    background: #00b14f;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 25px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-submit:hover{
    background: #009944;
}

/* ===== SWITCH FIX FULL ===== */

.taxi-switch-group{
    margin:15px 0;
}

.switch-row{
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;
    margin-bottom:12px;
}

.switch{
    position:relative !important;
    display:inline-block !important;
    width:50px !important;
    height:26px !important;
}

.switch input{
    opacity:0 !important;
    width:0 !important;
    height:0 !important;
    position:absolute !important;
}

.slider{
    position:absolute !important;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:#ddd !important;
    border-radius:30px !important;
    transition:.3s !important;
}

.slider:before{
    content:"" !important;
    position:absolute !important;
    height:20px !important;
    width:20px !important;
    left:3px !important;
    bottom:3px !important;
    background:#fff !important;
    border-radius:50% !important;
    transition:.3s !important;
}

.switch input:checked + .slider{
    background:#00b14f !important;
}

.switch input:checked + .slider:before{
    transform:translateX(24px) !important;
}

/* ===== 2 Column Row ===== */
.taxi-row-2col{
    display:flex;
    gap:15px;
    width:100%;
}

.taxi-col{
    flex:1;
    display:flex;
    flex-direction:column;
	font-size:12px;
}

/* Input & Select đồng bộ style */
.taxi-col select,
.taxi-col input{
    width:100% !important;
    height:44px !important;
    border:1px solid rgba(155,155,155,.5) !important;
    border-radius:10px !important;
    padding:0 15px !important;
    background:#fff !important;
    box-shadow:0 2px 6px rgba(0,0,0,0.05) !important;
    font-size:14px;
}

/* Mobile tự xuống 1 cột */
@media(max-width:768px){
    .taxi-row-2col{
        flex-direction:column;
    }
}

/* ===== 2 Column Switch Row ===== */
.switch-group{
    display:flex;
    gap:20px;
    margin:15px 0;
}

.switch-col {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    /* border: 1px solid rgba(155, 155, 155, .4); */
    border-radius: 10px;
    background: #fff;
    font-size: 12px;
	color:black;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, .05); */
}

/* Mobile xuống 1 cột */
@media(max-width:768px){
    .switch-group{
        flex-direction:column;
    }
}
/* ===== ROUTE GROUP ===== */
.route-group{

    overflow:hidden;
    font-size:12px;
	margin-bottom: 18px;

}

/* từng dòng */
.route-item{
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 15px;
    margin-top: 20px;
}

/* đường ngăn giữa 2 dòng */
.route-divider{
    height:1px;
    background:rgba(0,0,0,.08);
    margin:0 12px;
}

/* icon */
.route-icon{
    width:18px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:14px;
}

.route-icon.pickup{
    color:#00b14f;
}

.route-icon.destination{
    color:#ff5722;
}

/* input */
.route-item input{
    flex:1;
    border:none !important;
    outline:none !important;
    background:transparent;
    font-size:12px !important;
}

/* nút + và swap */
.btn-add, .btn-remove {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: #00b14f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: -8px;
}
.btn-swap {
transform: translateY(-50%);
        border: none;
        width: 100%;
        /* height: 100%; */
        background: #F1F5F9;
        color: #0F172A;
        border-radius: 10px;
        cursor: pointer;
        margin: 15px 0px -37px;
    }
    margin: -8px 0px -37px;
}
.btn-add:hover,
.btn-swap:hover{
    background:#00b14f;
    color:#fff;
}
