body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    color: white;
}

/* 🗺️ HARİTA */
#map {
    height: 100vh;
    width: 100%;
}

/* 📱 APP PANEL */
.app-panel {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    
    width: 90%;
    max-width: 400px;

    background: rgba(0,0,0,0.9);
    padding: 20px;
    border-radius: 20px;

    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    backdrop-filter: blur(15px);

    z-index: 999;
}

/* PANEL BAŞLIK */
.app-panel h2 {
    text-align: center;
    margin-top: 0;
    color: #FFC107;
}

/* INPUT */
input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    outline: none;
    background: #2a2a2a;
    color: white;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
    box-sizing: border-box;
    margin-bottom: 10px;
}

input::placeholder {
    color: #aaa;
}

/* 📍 KONUM BUTONU */
.location-btn {
    width: 100%;
    background: linear-gradient(135deg, #2c2c2c, #3a3a3a);
    color: #FFC107;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,193,7,0.3);
    cursor: pointer;
    transition: 0.3s;
}

.location-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,193,7,0.5);
}

/* 🚖 ANA BUTON */
button {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #FFC107, #ffb300);
    color: black;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    box-shadow: 0 0 20px rgba(255,193,7,0.6);
}

button:hover {
    transform: scale(1.07);
    box-shadow: 0 0 35px rgba(255,193,7,1);
}

/* 🚖 STATUS */
#status {
    margin-top: 15px;
    text-align: center;
    color: #FFC107;
    font-size: 14px;
}

.leaflet-marker-icon {
    transition: all 1s linear;
}

/* rota çizgi kalınlığı */
.leaflet-routing-container {
    display: none;
}

/* yeni input (destination) */
#destination {
    margin-top: 10px;
}

/* input focus glow */
input:focus {
    box-shadow: 0 0 10px rgba(255,193,7,0.6);
}

#infoBox {
    margin-top:10px;
    color:#FFD700;
    font-weight:bold;
}

#liveStatus {
    margin-top:5px;
    color:#fff;
}

.taxi-icon {
    transition: transform 0.3s linear;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
    background: #000;
    overflow: hidden;
}

/* MAP */
#map {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* TOP BAR */
#topBar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    height: 55px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    color: white;
    z-index: 10;
}

#topBar .left,
#topBar .right {
    font-size: 20px;
    cursor: pointer;
}

#topBar .center {
    font-size: 14px;
    opacity: 0.9;
}

/* BOTTOM SHEET */
#bottomSheet {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 70%;
    background: rgba(20,20,20,0.97);
    backdrop-filter: blur(15px);
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    padding: 15px;
    z-index: 20;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.6);

    overflow-y: auto;       /* 🔥 SCROLL AÇAR (EN KRİTİK) */
    -webkit-overflow-scrolling: touch; /* 🔥 mobil smooth scroll */
}

/* DRAG HANDLE */
.drag-handle {
    width: 60px;
    height: 6px;
    background: #666;
    border-radius: 10px;
    margin: 0 auto 15px auto;
}

/* CONTENT */
.sheet-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* INPUT */
#bottomSheet input {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;
    outline: none;
    font-size: 14px;
    background: #2a2a2a;
    color: white;
}

/* PHONE ROW */
#phoneRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    background: #2a2a2a;
    padding: 12px;
    border-radius: 14px;

    color: white;
    font-size: 14px;

    overflow: hidden;
}

/* PHONE LEFT */
.phone-left {
    display: flex;
    align-items: center;
    gap: 6px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    max-width: 65%;
}

/* EDIT BUTTON */
.edit-btn {
    flex-shrink: 0;

    background: #3a3a3a;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;

    color: #ffcc00;
    font-size: 16px;
    cursor: pointer;
}

/* BUTTONS */
#bottomSheet button {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

/* LOCATION BUTTON */
#locBtn {
    background: #3a3a3a;
    color: white;
}

/* CALL BUTTON */
#callBtn {
    background: #ffcc00;
    color: black;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}

/* CLICK EFFECT */
#bottomSheet button:active {
    transform: scale(0.97);
}

/* GLOBAL FIX */
input, button {
    max-width: 100%;
}

/* OLD PANEL HIDE */
.app-panel {
    display: none !important;
}

#bottomSheet::-webkit-scrollbar {
    display: none;
}