/* ========================================================
   JANELA FLUTUANTE DA PUBLICAÇÃO DE FOTOS
======================================================== */
.nomeacao-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Fundo semi-transparente escuro */
    backdrop-filter: blur(8px); /* Deixa o fundo borrado - estilo moderno */
    z-index: 10000;
    display: none; /* Escondido por padrão */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nomeacao-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.nomeacao-modal-box {
    background: #151515;
    border: 2px solid #8B4513; /* Destaque da cor da sua rádio/site */
    border-radius: 12px;
    padding: 25px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.3); /* Sombra elegante */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nomeacao-img-preview {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    background: #000;
    border-radius: 8px;
    border: 1px solid #333;
}

.nomeacao-input {
    width: 100%;
    padding: 14px 15px;
    background: #111;
    border: 1px solid #8B4513;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.nomeacao-input:focus {
    border-color: #d35400;
    box-shadow: 0 0 10px rgba(211, 84, 0, 0.5);
}

.nomeacao-botoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.btn-enviar-foto {
    background: #27ae60; /* Verde bonito */
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}
.btn-enviar-foto:hover {
    background: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.btn-enviar-todos {
    background: #c0392b; /* Vermelho bonito */
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}
.btn-enviar-todos:hover {
    background: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.4);
}

.btn-cancelar {
    background: #000000; /* Cor preta */
    color: #ffffff;
    border: 1px solid #333333;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-cancelar:hover {
    background: #222222; /* Preto um pouquinho mais claro ao passar o mouse */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.btn-proxima-foto {
    background: #2980b9; /* Azul bonito e elegante */
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-proxima-foto:hover {
    background: #3498db; /* Azul mais claro ao passar o mouse */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.4);
}

/* ========================================================
   AVISO ESTILIZADO FLUTUANTE
======================================================== */
.aviso-estilizado-flutuante {
    position: fixed;
    top: 25px;
    right: 25px;
    background: linear-gradient(90deg, #d35400, #8B4513);
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0,0,0,0.6);
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(150%); /* Escondido pra fora da tela direita */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.aviso-estilizado-flutuante.show {
    transform: translateX(0); /* Desliza e entra bonito na tela */
}

/* ========================================================
   ÁREA DA BUSCA EM FOTOSFESTIVIDADES.PHP
======================================================== */
.action-bar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-form-fotos {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid #8B4513;
    border-radius: 30px;
    overflow: hidden;
    padding: 3px 5px 3px 20px;
    max-width: 450px;
    flex: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.search-form-fotos input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    width: 100%;
    outline: none;
}

.search-form-fotos input::placeholder {
    color: #888;
}

.search-form-fotos button {
    background: linear-gradient(135deg, #8B4513, #d35400);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.search-form-fotos button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(211, 84, 0, 0.6);
}

.fotos-isoladas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.foto-isolada-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    transition: transform 0.3s;
}
.foto-isolada-card:hover {
    transform: translateY(-5px);
    border-color: #8B4513;
}

.foto-isolada-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
}

.foto-nomes {
    color: #fff;
    font-size: 13px;
    margin-bottom: 12px;
    font-style: italic;
    font-weight: bold;
}

.btn-ver-album-mini {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}
.btn-ver-album-mini:hover {
    background: #8B4513;
}

/* ========================================================
   RESPONSIVIDADE (CELULARES E TELAS MENORES)
======================================================== */
@media (max-width: 768px) {
    .action-bar-top {
        flex-direction: column;
        align-items: stretch; /* Estica os itens para ocupar a tela toda */
        gap: 15px;
    }

    .btn-publish {
        width: 100%;
        justify-content: center; /* Centraliza o texto e o ícone do botão */
    }

    .search-form-fotos {
        max-width: 100%; /* Remove o limite de 450px no celular */
        width: 100%;
    }
}