/* Client Portal Styles */

/* Service Cards */
.av-service-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.av-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.av-service-number {
    font-weight: bold;
    color: #333;
}

.av-service-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.av-service-badge.success {
    background: #d4edda;
    color: #155724;
}

.av-service-badge.warning {
    background: #fff3cd;
    color: #856404;
}

.av-service-badge.danger {
    background: #f8d7da;
    color: #721c24;
}

.av-service-badge.info {
    background: #d1ecf1;
    color: #0c5460;
}

.av-service-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: #555;
}

.av-service-footer {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

/* Buttons */
.button-danger {
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
}

.button-danger:hover {
    background-color: #c82333 !important;
}

/* Tracking Page */
.av-tracking-container {
    max-width: 800px;
    margin: 0 auto;
}

.av-tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.av-tracking-status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.av-tracking-status::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.av-status-step {
    position: relative;
    z-index: 1;
    text-align: center;
    background: #fff;
    padding: 0 10px;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    color: #fff;
}

.av-status-step.active .step-icon {
    background: #2ecc71;
}

.step-label {
    font-size: 0.8em;
    color: #777;
}

.av-status-step.active .step-label {
    color: #2ecc71;
    font-weight: bold;
}

.av-tracking-map-container {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
}

.av-map-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    color: #999;
}

.av-driver-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.av-driver-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.av-info-item label {
    display: block;
    font-weight: bold;
    font-size: 0.9em;
    color: #555;
}