.trItem{
    border-bottom: 1px solid orange;
    padding-bottom: 10px !important;
}

#dTienda{
    padding-bottom: 10em !important;
    border: 1px solid #ccc;
    margin-top: 10em !important;
    animation-fill-mode: none !important;


}

.trItem img{
    height:5em !important;
    width: auto !important;
}

#header{
    background-color: #f0f0f0;
    
    font-weight: bold;
    height:4em !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    left: 0;
}

#dCats{
    position: fixed;
    top: 4em;
    height: 6em !important;
    left: 0;
    width: 100%;
    
    overflow-x: scroll;
     
    border-right: 1px solid #ccc;
    padding-top: 1em !important;
    background-color: rgb(255, 255, 255) !important;
}

 

.flying-number {
    transition: all 0.8s ease-out;
    font-size: 3em !important;
}
.trItem.item-added {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

#leftPanel {
    position: fixed;
    top: 0px;
    left: -90%;
    width: 90%;
    height: 100vh;
         overflow-y: auto;
    background-color: #f9f9f9;
    border-right: 1px solid #ccc;
    transition: left 0.3s ease;
    z-index: 1001;
}

#leftPanel.active {
    left: 0;
}

 

#leftPanel {
    position: fixed;
    top: 0;
    left: -90%;
    width: 90%;
    height: 100vh;
    overflow-y: auto;
    background-color: #f9f9f9;
    border-right: 1px solid #ccc;
    transition: left 0.3s ease;
    z-index: 1001;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 15px;
    box-sizing: border-box;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.close-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-boy-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 4.5em;
    height: 4.5em;
    border-radius: 50%;
    object-fit: cover;
}

.eta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #666;
}

.progress-indicator {
    margin: 20px 0;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ddd;
    margin-bottom: 5px;
}

.step.completed .step-marker {
    background: #2ecc71;
}

.step.active .step-marker {
    background: #3498db;
    border: 3px solid #bde0fe;
}

.step-label {
    font-size: 12px;
    color: #666;
}

.order-details {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.label {
    color: #666;
}

.value {
    font-weight: 500;
    text-align: right;
}

.view-items {
    background: none;
    border: none;
    color: #3498db;
    text-decoration: underline;
    padding: 0;
    margin-left: 5px;
    cursor: pointer;
}

.map-container {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.map-legend {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    font-size: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pin {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.pin.you {
    background: #e74c3c;
}

.pin.delivery {
    background: #3498db;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.contact-btn {
    padding: 12px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

.contact-btn.call {
    background: #2ecc71;
    color: white;
}

.contact-btn.message {
    background: #f8f9fa;
    border: 1px solid #ddd;
}

.delivery-instructions {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.delivery-instructions h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.delivery-instructions p {
    margin: 0;
    font-style: italic;
}

#footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f0f0f0;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #ccc;

}