body { background: #f8fafc; } .jumbotron{padding:1rem 1.5rem;background:#fff;border-radius:.5rem;}
#map {
    height: 70vh;
    min-height: 420px;
}

/* Prevent text selection on availability grid table cells */
.table-responsive table td {
    user-select: none;
  -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Remove cursor pointer from available cells - buttons handle this */
.table-responsive table td.available-cell {
 cursor: default;
}

/* Allow text selection only for specific cells */
.lot-name-cell {
user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Cart Counter Badge */
#cartCounter {
font-size: 0.65rem;
    padding: 0.25em 0.5em;
    min-width: 1.5em;
    min-height: 1.5em;
}

#cartButton {
    position: relative;
}

/* Cart button states */
.add-to-cart-btn {
transition: all 0.3s ease;
}

.add-to-cart-btn.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    cursor: not-allowed;
}

.add-to-cart-btn.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.add-to-cart-btn:not(.btn-success):hover {
  transform: scale(1.05);
}

/* Pulse animation for newly added items */
@keyframes pulseGreen {
  0%, 100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    50% {
  box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
}

.add-to-bundle-btn.just-added {
    animation: pulseGreen 1s ease-out;
}

/* Toast positioning */
.toast {
    min-width: 300px;
}

/* Confirmation Modal Styling */
#confirmModal .modal-header {
    border-bottom: 2px solid #dee2e6;
}

#confirmModal .modal-title {
    font-weight: 600;
    display: flex;
    align-items: center;
}

#confirmModal .modal-title i {
    font-size: 1.5rem;
}

#confirmModal .modal-body {
    padding: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

#confirmModal .modal-footer {
    border-top: 2px solid #dee2e6;
    padding: 1rem 1.5rem;
}

#confirmModal .btn {
    min-width: 100px;
    font-weight: 500;
}

@media (max-width: 480px) {
    #lotPhotoPopup {
        width: 90vw !important;
        max-width: 90vw !important;
    left: 5vw !important;
        right: 5vw !important;
    }
    
    .toast {
 min-width: 250px;
    }
    
#confirmModal .modal-dialog {
  margin: 0.5rem;
    }
}
