/* Estilos para as categorias de fotos */

/* Estilo para fotos raras - removendo o texto "R" */
.foto-container.categoria-rara .nome-arquivo::after {
    content: "";  /* Removido o texto "R" */
    color: #e74c3c; /* Vermelho */
    font-weight: bold;
    margin-left: 3px;
}

/* Estilo para fotos promocionais - removendo o texto "P" */
.foto-container.categoria-promocional .nome-arquivo::after {
    content: "";  /* Removido o texto "P" */
    color: #2ecc71; /* Verde */
    font-weight: bold;
    margin-left: 3px;
}

/* Estilos para o seletor de categoria no Fancybox */
.fancybox-caption .categoria-selector {
    display: inline-block;
    margin-right: 15px;
    vertical-align: middle;
}

.fancybox-caption .categoria-selector label {
    color: white;
    font-weight: bold;
    margin-right: 5px;
}

.fancybox-caption .categoria-select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: white;
    color: #333;
    font-size: 14px;
}

/* Estilos para botões no caption */
.fancybox-caption button {
    padding: 6px 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 8px;
}

/* Estilos para feedback visual durante e após atualização de categoria */
.foto-container.atualizando-categoria {
    opacity: 0.8;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 2px #007bff;
}

.foto-container.categoria-atualizada {
    animation: pulsar 1s ease;
}

@keyframes pulsar {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
