/* Cards de seleção de embarcação */

.barcos-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
}

.barco-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    text-decoration: none;
    color: #1a2e3b;
    box-shadow: 0 2px 12px rgba(0, 119, 182, 0.08);
    border: 1.5px solid #e4eef5;
    border-left: 4px solid #0077B6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.barco-card:hover {
    border-color: #0077B6;
    border-left-color: #0077B6;
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.18);
    color: #1a2e3b;
    text-decoration: none;
}

.barco-card.active {
    background: linear-gradient(135deg, #0077B6 0%, #005080 100%);
    border-color: transparent;
    border-left-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 119, 182, 0.38);
}

/* Ícone */
.barco-card-icon {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    background: rgba(0, 119, 182, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.barco-card.active .barco-card-icon {
    background: rgba(255, 255, 255, 0.18);
}

.barco-card-img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.barco-card-img-icon {
    font-size: 46px;
    color: #0077B6;
}

.barco-card.active .barco-card-img-icon {
    color: #ffffff;
}

/* Corpo */
.barco-card-body {
    flex: 1;
    min-width: 0;
}

.barco-card-nome {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.barco-card-tipo {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #7a9ab0;
    margin-bottom: 8px;
}

.barco-card.active .barco-card-tipo {
    color: rgba(255, 255, 255, 0.6);
}

/* Stats */
.barco-card-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.barco-stat {
    font-size: 12px;
    color: #5a7a8a;
    display: flex;
    align-items: center;
    gap: 4px;
}

.barco-card.active .barco-stat {
    color: rgba(255, 255, 255, 0.78);
}

/* Próxima data — badge/pílula */
.barco-card-proxima {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e8f4fd;
    color: #0077B6;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}

.barco-card.active .barco-card-proxima {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Seta */
.barco-card-arrow {
    flex-shrink: 0;
    color: #c0d4de;
    font-size: 14px;
}

.barco-card.active .barco-card-arrow {
    color: rgba(255, 255, 255, 0.5);
}

/* Desktop: cards lado a lado em grade */
@media (min-width: 769px) {
    .barcos-lista {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        padding: 16px;
    }

    .barco-card {
        width: 260px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .barco-card-arrow {
        display: none;
    }
}

/* Cards compactos (admin) */
.barcos-lista-compacta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 8px;
}

.barcos-lista-compacta .barco-card {
    width: 120px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px;
    border-radius: 10px;
}

.barcos-lista-compacta .barco-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.barcos-lista-compacta .barco-card-img {
    width: 28px;
    height: 28px;
}

.barcos-lista-compacta .barco-card-img-icon {
    font-size: 22px;
}

.barcos-lista-compacta .barco-card-body {
    text-align: center;
}

.barcos-lista-compacta .barco-card-nome {
    font-size: 13px;
}

.barcos-lista-compacta .barco-card-tipo {
    font-size: 10px;
    margin-bottom: 0;
}

.barcos-lista-compacta .barco-card-arrow {
    display: none;
}
