/* Race Crew Network */

.rsvp-yes { color: #198754; font-weight: bold; }
.rsvp-no { color: #dc3545; }
.rsvp-maybe { color: #ffc107; font-weight: bold; }

.regatta-past {
    opacity: 0.5;
}

.crew-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 4px;
    text-decoration: none;
    cursor: pointer;
}

.crew-badge:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.crew-badge.yes { background-color: #d1e7dd; color: #0f5132; }
.crew-badge.no { background-color: #f8d7da; color: #842029; }
.crew-badge.maybe { background-color: #fff3cd; color: #664d03; }

.doc-link {
    display: inline-block;
    margin-right: 4px;
}

.location-link {
    color: #000;
    text-decoration: underline;
}

.location-link:hover {
    color: #333;
}

/* Print styles */
@media print {
    .no-print,
    .navbar,
    .alert,
    select[name="status"],
    form[action*="rsvp"],
    form[action*="delete"],
    a.btn,
    button.btn {
        display: none !important;
    }

    .regatta-past {
        opacity: 0.7;
    }

    .table {
        font-size: 0.85rem;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    a {
        text-decoration: none !important;
        color: #000 !important;
    }

    .badge {
        border: 1px solid #999;
        color: #000 !important;
        background-color: #eee !important;
    }

    .crew-badge.yes { background-color: #d1e7dd !important; }
    .crew-badge.no { background-color: #f8d7da !important; }
    .crew-badge.maybe { background-color: #fff3cd !important; }
}
