body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}
.header {
    background-color: #3498db;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.test-section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
h2 {
    color: #3498db;
    margin-top: 0;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input[type="email"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
}
button:hover {
    background-color: #2980b9;
}
#results {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    border-left: 4px solid #3498db;
}
.map-container {
    height: 300px;
    background-color: #e0e0e0;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}
.delivery-item {
    background-color: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.delivery-title {
    font-weight: bold;
    margin-bottom: 5px;
}
.delivery-distance {
    color: #3498db;
    margin-bottom: 5px;
}
.delivery-address, .delivery-window {
    color: #555;
    margin-bottom: 5px;
}
.delivery-actions {
    margin-top: 10px;
}

.navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}
.nav-item {
    text-align: center;
    color: #555;
    text-decoration: none;
    font-size: 12px;
}
.nav-item.active {
    color: #3498db;
}

/* Camera and signature modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
}
.modal-content {
    background-color: white;
    margin: 20px;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    margin: 50px auto;
}
.close-btn {
    float: right;
    font-size: 24px;
    cursor: pointer;
}
#canvas-container {
    border: 1px solid #ddd;
    margin-top: 10px;
    border-radius: 4px;
    touch-action: none;
}

/* In-app notification */
#notification-container {
    position: fixed;
    top: 70px;
    right: 20px;
    max-width: 300px;
    z-index: 1000;
}
.in-app-notification {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    animation: slideIn 0.3s ease-out;
}
.notification-title {
    font-weight: bold;
    margin-bottom: 5px;
}
.notification-body {
    margin-bottom: 10px;
}
.notification-actions {
    display: flex;
    justify-content: flex-end;
}
.notification-actions button {
    padding: 5px 10px;
    font-size: 12px;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
/* Add this to your existing styles */
.user-badge {
    display: none;
    position: absolute;
    top: 15px;
    right: 20px;
    background-color: white;
    color: #3498db;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}