/**
 * CSS Filtros - Estilos para filtros de álbuns
 * @author Maicon Souza – Jmtechnology
 */

/* Container de Filtros */
.gpg-albums-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.gpg-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 180px;
}

.gpg-filter-group label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gpg-filter-select {
    width: 100%;
    padding: 12px 16px;
    padding-right: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 16px center;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    height: 48px;
}

.gpg-filter-select:hover {
    border-color: #94a3b8;
    background-color: #fff;
}

.gpg-filter-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Custom Dates - Estilo Integrado */
.gpg-custom-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
    align-items: flex-end;
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gpg-filter-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
    background: #fff;
    transition: all 0.2s ease;
    height: 48px;
    font-family: inherit;
}

.gpg-filter-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.gpg-filter-btn {
    padding: 0 32px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gpg-filter-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
}

.gpg-filter-btn:active {
    transform: translateY(0);
}

/* Mensagem de Nenhum Álbum */
.gpg-no-albums {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 12px;
    color: #64748b;
    font-size: 16px;
}

.gpg-no-albums::before {
    content: '📷';
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .gpg-albums-filters {
        flex-direction: column;
        padding: 12px;
        gap: 10px;
        background: #fff;
        border: 1px solid #f1f5f9;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    }

    .gpg-filter-group {
        min-width: 100%;
        gap: 4px;
    }

    .gpg-filter-group label {
        font-size: 11px;
    }

    .gpg-custom-dates {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        padding-top: 10px;
    }

    .gpg-filter-btn {
        width: 100%;
        margin-top: 5px;
        height: 42px;
    }

    .gpg-filter-select,
    .gpg-filter-input {
        height: 42px;
        font-size: 13px;
    }
}