/* Autocomplétion adresse */
.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
}

.address-suggestions.active {
    display: block;
}

.address-suggestions li {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.address-suggestions li:last-child {
    border-bottom: none;
}

.address-suggestions li:hover,
.address-suggestions li.active {
    background: #f0f4ff;
    color: #667eea;
}

/* Info */
.road-time-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

/* Loading */
.road-time-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    color: #667eea;
    font-weight: 500;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #e0e0e0;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Carte résultat */
.road-time-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    margin-top: 16px;
}

.road-time-card-header {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.road-time-eligible {
    background: linear-gradient(135deg, #43a047, #66bb6a);
}

.road-time-not-eligible {
    background: linear-gradient(135deg, #e53935, #ef5350);
}

.road-time-card-body {
    padding: 16px 20px;
    background: #fafafa;
}

.road-time-card-body p {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #666;
}

.road-time-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.road-time-stat:last-child {
    border-bottom: none;
}

.road-time-stat-label {
    font-size: 14px;
    color: #888;
}

.road-time-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}