* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    color: #25D366;
    font-size: 24px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card h2 {
    color: #333;
    margin-bottom: 16px;
    font-size: 20px;
}

.detail-row {
    display: flex;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.detail-label {
    width: 100px;
    font-weight: 600;
    color: #666;
}

.detail-value {
    flex: 1;
    color: #333;
}

.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-rider_assigned { background: #fff3cd; color: #856404; }
.status-rider_accepted { background: #cce5ff; color: #004085; }
.status-picked_up_in_transit { background: #d4edda; color: #155724; }
.status-arrived { background: #d1ecf1; color: #0c5460; }
.status-delivered { background: #d4edda; color: #155724; }
.status-failed_attempt { background: #f8d7da; color: #721c24; }
.status-escalated { background: #f8d7da; color: #721c24; }

.button-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

button {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: #25D366;
    color: white;
}

.btn-warning {
    background: #ffc107;
    color: #333;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.otp-input {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.otp-input input {
    flex: 1;
    padding: 14px;
    font-size: 18px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 12px;
    letter-spacing: 4px;
}

.hidden {
    display: none;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}