/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;

}

body {
  font-family: 'poppins', sans-serif !important;
  background-color: #e5f2ff;
  max-width: 800px !important;
  margin: auto !important;
  line-height: 1;
  padding: 4px 0px 0px 0px !important;
  overflow: hidden;
}

.mapboxgl-ctrl-top-right {
	display:none;
}

/* === FORM === */
.form {
    width: 100%;
    height: 100vh;
    position: relative;
}

/* === MAP SECTION - FULLSCREEN BEHIND === */
.form-group {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
    transition: height 0.1s ease-out;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 0px;
    margin-bottom: 0px;
    border: none;
}

#mapSquare {
	display: none;
	padding: 5px;
    background-color: #fff;
    border: 0px solid #ddd;
    border-radius: 6px;
}

#travelTime,
#distance {
    font-size: 13px;
    color: #333;
    margin: 5px 0;
}

/* === SECTION 3 - DRAGGABLE DRAWER === */
.section3 {
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    padding: 0px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    height: 70vh;
    transform: translateY(calc(100% - 350px));
    transition: none;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    will-change: transform;
}

/* Drawer Handle */
.drawer-handle {
    width: 100%;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: grab;
    background: #000;
    border-radius: 10px 10px 0 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.drawer-handle:active {
    cursor: grabbing;
}

.drawer-handle-bar {
    width: 40px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    margin-bottom: 8px;
}

.drawer-title {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.drawer-content {
    height: calc(100% - 50px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 100px;
    -webkit-overflow-scrolling: touch;
}

/* === SHARING CAB SECTION === */
#share {
    margin-top: 20px;
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #ddd;
	display: none;
}

.containerrr {
    width: 100%;
    background: transparent;
}

.tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    font-size: 10px;
    color: #28a745;
    border: 1px solid #28a745;
    border-radius: 4px;
    padding: 4px 8px;
    white-space: nowrap;
}

/* === TICKETS === */
.ticket-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 40px;
}

.ticket:hover {
    background: #f8f9fa;
    border-color: #000080;
}

.ticket.selected {
    border: 2px solid #000080;
    background: #f0f4ff;
}

.ticket img {
    width: 60px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.ticket .time-info {
    flex: 1;
    margin: 0 15px;
}

.ticket .time-info div {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.ticket .time-info span {
    font-size: 11px;
    color: #666;
    font-weight: normal;
}

.ticket .price {
    text-align: right;
    flex-shrink: 0;
    min-width: 60px;
}

.ticket .price div {
    font-size: 16px;
    font-weight: 700;
    color: #000080;
    margin-bottom: 2px;
}

.ticket .price span {
    font-size: 10px;
    color: #666;
    font-weight: normal;
}

/* === PRIVATE CATEGORY === */
#privateCategory {
    margin-top: 5px;
    background-color: transparent;
    border-radius: 3px;
	padding: 5px;
    border: 0px solid #ddd;
}

.private-category .header {
    border-bottom: none;
    padding-bottom: 5px;
    margin-bottom: 0px;
}

.features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 7px;
}

.feature {
    font-size: 10px;
    font-weight: 600;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 6px 10px;
    border-radius: 3px;
    background-color: #fff;
}

.feature.green {
    border-color: #28a745;
    color: #28a745;
}

.cancellation {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cancellation img {
    width: 18px;
    height: 18px;
}

.cancellation p {
    font-size: 11px;
    color: #333;
    margin: 0;
    font-weight: normal;
}

/* === VEHICLE COLUMNS === */
.column {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f2f4f8;
	position: relative;
    border-radius: 3px;
    padding:  0px 5px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s;
	min-height: 50px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.column:hover {
    border-color: #000080;
    background: #f8f9fa;
}

.column.selected {
    border: 2px solid #000080;
    background: #f0f4ff;
}

.column img {
    width: 60px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.column .time-info {
    flex: 1;
    margin: 0 15px;
}

.column .time-info div {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.column .time-info span {
    font-size: 11px;
    color: #666;
    font-weight: normal;
}

#fare1,
#fare2,
#fare3,
#fare5 {
    font-size: 12px;
    font-weight: 600 !important;
    color: #000;
    min-width: 60px;
    text-align: right;
	position: absolute;
	right: 10px;
	top: 10px;
}

/* Fixed buttons container */
.fixed-buttons {
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1001;
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* === BUTTONS === */
#confirmButton {
    width: 50%;
    font-size: 13px;
    font-weight: 550;
    color: #fff;
    background-color: #000;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
    border-radius: 10px;
    height: 39px;
}

#confirmButton:hover {
    opacity: 0.9;
}

#submit-Whatsapp {
	width: 50%;
	font-size: 13px;
	font-weight: 550;
	color: #fff;
	background-color: #25D366;
	border: none;
	cursor: pointer;
	transition: opacity 0.3s;
	border-radius: 10px;
	height: 39px;
}

/* === RESERVATION DETAILS === */
#reservationDetails {
    margin-top: 15px;
    padding: 12px;
    background-color: #fff;
    border-radius: 6px;
}

#reservationDetails p {
    font-size: 13px;
    color: #333;
    margin: 5px 0;
    font-weight: normal;
}

#reservationDetails strong {
    font-weight: 600;
}

/* === UTILITY === */
.hidden {
    display: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .fixed-buttons {
        gap: 8px;
    }
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
    body {
        background-color: #fff;
    	padding: 4px !important;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .form-group {
        top: 52px;
    }
    
    .tags {
        width: 100%;
    }
    
    .ticket,
    .column {
        padding:  0px 5px;
    }
    
    .ticket img,
    .column img {
        width: 70px;
        height: 45px;
    }
    
    .fixed-buttons {
        padding: 5px;
    }

	.header-container {
		position: absolute;
    	top: 4px !important;
    	right: 4px;
    	left: 4px;
	}
}