.ride-card {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.85em;
    display: block;
    color: inherit;
    text-decoration: none;
}
.ride-card .ride-meta {
    color: #666;
    margin-bottom: 0.4rem;
}
.ride-card .ride-comment {
    color: #333;
    margin: 0.3rem 0;
    white-space: pre-wrap;
}
.ride-card .hitchhiker-name {
    font-weight: bold;
    color: #555;
    text-decoration: none;
}
.ride-card .hitchhiker-name:hover {
    text-decoration: underline;
}

a.ride-card,
.ride-card[data-ride-href] {
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
a.ride-card:hover,
.ride-card[data-ride-href]:hover {
    background: #eef2f6;
    border-color: #c7ced3;
    text-decoration: none;
    color: inherit;
}

.ride-card.co-hitchhiker-card {
    border-left: 3px solid #fd7e14;
}
.co-label {
    font-size: 0.75em;
    background: #fd7e14;
    color: #fff;
    border-radius: 3px;
    padding: 1px 5px;
    margin-left: 4px;
    vertical-align: middle;
}

.ride-actions {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.ride-actions a,
.ride-actions button {
    font-size: 0.8em;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid #aaa;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}
.ride-actions a.btn-edit { border-color: #0d6efd; color: #0d6efd; }
.ride-actions button.btn-accept { border-color: #198754; color: #198754; }
.ride-actions button.btn-reject { border-color: #dc3545; color: #dc3545; }
